Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.898/1.898, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 190.2 kB / 490.8 MB, free: 1.887 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 221.4 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009018/0.0009018, allocations: 102.8 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5417/0.5426, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.7805, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6176/1.398, allocations: 154.4 MB / 1.362 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/1.398, allocations: 87.23 kB / 1.363 GB, free: 17.19 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.04458/1.443, allocations: 18.09 MB / 1.38 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/1.443, allocations: 8.875 kB / 1.38 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/1.443, allocations: 122.2 kB / 1.38 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/1.445, allocations: 0.5858 MB / 1.381 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/1.445, allocations: 29.84 kB / 1.381 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/1.445, allocations: 64.41 kB / 1.381 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001232/1.446, allocations: 0.5226 MB / 1.381 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/1.447, allocations: 0.694 MB / 1.382 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/1.447, allocations: 0 / 1.382 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.596e-05/1.448, allocations: 5.984 kB / 1.382 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/1.448, allocations: 23.31 kB / 1.382 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/1.451, allocations: 2.461 MB / 1.385 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000636/1.452, allocations: 384.1 kB / 1.385 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004788/1.452, allocations: 339.2 kB / 1.385 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/1.453, allocations: 12.33 kB / 1.385 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004418/1.453, allocations: 296.1 kB / 1.386 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.916e-06/1.453, allocations: 4 kB / 1.386 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.000892/1.454, allocations: 0.4942 MB / 1.386 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/1.454, allocations: 166.8 kB / 1.386 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/1.454, allocations: 439.4 kB / 1.387 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/1.455, allocations: 27.2 kB / 1.387 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/1.455, allocations: 339.5 kB / 1.387 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/1.455, allocations: 255.7 kB / 1.387 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/1.455, allocations: 0 / 1.387 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.455, allocations: 375.8 kB / 1.388 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/1.455, allocations: 184.9 kB / 1.388 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/1.456, allocations: 275.8 kB / 1.388 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/1.456, allocations: 222.8 kB / 1.388 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.456, allocations: 0 / 1.388 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009/1.457, allocations: 0.5618 MB / 1.389 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.02e-05/1.457, allocations: 182.4 kB / 1.389 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.457, allocations: 0 / 1.389 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.457, allocations: 3.969 kB / 1.389 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/1.458, allocations: 176.7 kB / 1.389 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.458, allocations: 6.812 kB / 1.389 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/1.458, allocations: 91.52 kB / 1.389 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/1.458, allocations: 17.91 kB / 1.389 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/1.458, allocations: 7.562 kB / 1.389 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006691/1.459, allocations: 445.7 kB / 1.39 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-06/1.459, allocations: 0 / 1.39 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/1.459, allocations: 11.97 kB / 1.39 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/1.459, allocations: 139.3 kB / 1.39 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.459, allocations: 3.031 kB / 1.39 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/1.46, allocations: 67.31 kB / 1.39 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/1.46, allocations: 18.16 kB / 1.39 GB, free: 25.76 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/1.46, allocations: 125.2 kB / 1.39 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/1.46, allocations: 72.67 kB / 1.39 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/1.46, allocations: 77.83 kB / 1.39 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/1.46, allocations: 7.562 kB / 1.39 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.46, allocations: 0 / 1.39 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/1.46, allocations: 4.703 kB / 1.39 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/1.462, allocations: 1.374 MB / 1.392 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.462, allocations: 1.375 kB / 1.392 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/1.463, allocations: 147.7 kB / 1.392 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/1.463, allocations: 6.656 kB / 1.392 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/1.463, allocations: 13.86 kB / 1.392 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.463, allocations: 2.75 kB / 1.392 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.463, allocations: 0 / 1.392 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001228/1.464, allocations: 0.8848 MB / 1.393 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001836/1.466, allocations: 1.54 MB / 1.394 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/1.466, allocations: 151.1 kB / 1.394 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.21e-05/1.466, allocations: 4.625 kB / 1.394 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/1.467, allocations: 48.52 kB / 1.394 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/1.467, allocations: 39.38 kB / 1.394 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/1.467, allocations: 28.39 kB / 1.394 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003807/1.467, allocations: 325.6 kB / 1.395 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00207/1.469, allocations: 284.6 kB / 1.395 GB, free: 23.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001931/1.47, allocations: 123.1 kB / 1.395 GB, free: 23.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001324/1.471, allocations: 0.7745 MB / 1.396 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.471, allocations: 1.125 kB / 1.396 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003967/1.471, allocations: 271.1 kB / 1.396 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007343/1.472, allocations: 129.5 kB / 1.396 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/1.475, allocations: 1.182 MB / 1.397 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/1.476, allocations: 1.097 MB / 1.398 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.476, allocations: 0 / 1.398 GB, free: 22.16 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)