Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_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 9.1.1-maint.9.1.x/package.mo): time 1.814/1.814, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.0009549/0.0009549, allocations: 181.2 kB / 487 MB, free: 5.336 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.162/1.162, allocations: 221.3 MB / 0.7819 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008438/0.0008438, allocations: 90.06 kB / 0.9213 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4516/0.4525, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.6557, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5668/1.222, allocations: 155.1 MB / 1.357 GB, free: 16.02 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/1.223, allocations: 77.52 kB / 1.357 GB, free: 16.02 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.02796/1.251, allocations: 12.93 MB / 1.369 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/1.251, allocations: 12 kB / 1.369 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/1.251, allocations: 83.06 kB / 1.37 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/1.251, allocations: 0.5331 MB / 1.37 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/1.251, allocations: 19.91 kB / 1.37 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/1.252, allocations: 36 kB / 1.37 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006376/1.252, allocations: 394.9 kB / 1.371 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007068/1.253, allocations: 0.5219 MB / 1.371 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/1.253, allocations: 0 / 1.371 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/1.253, allocations: 4 kB / 1.371 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/1.253, allocations: 12 kB / 1.371 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/1.255, allocations: 1.993 MB / 1.373 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/1.256, allocations: 307.1 kB / 1.373 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/1.256, allocations: 208.7 kB / 1.373 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/1.256, allocations: 4.438 kB / 1.373 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/1.256, allocations: 229 kB / 1.374 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=50): time 1.813e-06/1.256, allocations: 3.984 kB / 1.374 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of matching and sorting (n=50): time 0.0005282/1.257, allocations: 391.4 kB / 1.374 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/1.257, allocations: 158.7 kB / 1.374 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/1.257, allocations: 353.9 kB / 1.375 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/1.257, allocations: 25.7 kB / 1.375 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/1.257, allocations: 251.7 kB / 1.375 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.415e-05/1.257, allocations: 172.2 kB / 1.375 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/1.257, allocations: 0 / 1.375 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.134e-05/1.257, allocations: 366.9 kB / 1.375 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/1.258, allocations: 143.9 kB / 1.375 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/1.258, allocations: 244.5 kB / 1.376 GB, free: 3.301 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/1.258, allocations: 174.2 kB / 1.376 GB, free: 3.199 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.258, allocations: 0 / 1.376 GB, free: 3.199 MB / 0.8073 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005576/1.259, allocations: 462.2 kB / 1.376 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/1.259, allocations: 4 kB / 1.376 GB, free: 2.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/1.259, allocations: 4.188 kB / 1.376 GB, free: 2.859 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/1.259, allocations: 4 kB / 1.376 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/1.259, allocations: 123.1 kB / 1.376 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/1.259, allocations: 7.906 kB / 1.376 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/1.26, allocations: 75.64 kB / 1.377 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/1.26, allocations: 17.56 kB / 1.377 GB, free: 2.645 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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 8.85e-05/1.26, allocations: 122.5 kB / 1.377 GB, free: 2.523 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/1.26, allocations: 59.25 kB / 1.377 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/1.26, allocations: 56.89 kB / 1.377 GB, free: 2.438 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/1.26, allocations: 8 kB / 1.377 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.26, allocations: 0 / 1.377 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/1.26, allocations: 7.984 kB / 1.377 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/1.261, allocations: 1.099 MB / 1.378 GB, free: 1.625 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.261, allocations: 0 / 1.378 GB, free: 1.625 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/1.262, allocations: 114.8 kB / 1.378 GB, free: 1.516 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.262, allocations: 3.984 kB / 1.378 GB, free: 1.512 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/1.262, allocations: 4 kB / 1.378 GB, free: 1.508 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.262, allocations: 0 / 1.378 GB, free: 1.508 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.262, allocations: 0 / 1.378 GB, free: 1.508 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007373/1.262, allocations: 0.7187 MB / 1.379 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009953/1.263, allocations: 1.306 MB / 1.38 GB, free: 0 / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/1.264, allocations: 180.2 kB / 1.38 GB, free: 15.83 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/1.264, allocations: 3.625 kB / 1.38 GB, free: 15.83 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/1.264, allocations: 55.95 kB / 1.38 GB, free: 15.78 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/1.264, allocations: 32.27 kB / 1.38 GB, free: 15.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/1.264, allocations: 19.92 kB / 1.38 GB, free: 15.73 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.000244/1.264, allocations: 264.9 kB / 1.38 GB, free: 15.54 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009683/1.265, allocations: 139.4 kB / 1.381 GB, free: 15.41 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001445/1.266, allocations: 115.5 kB / 1.381 GB, free: 15.29 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000629/1.266, allocations: 412 kB / 1.381 GB, free: 15.02 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.266, allocations: 0 / 1.381 GB, free: 15.02 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/1.266, allocations: 197.7 kB / 1.381 GB, free: 14.89 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/1.267, allocations: 111.4 kB / 1.381 GB, free: 14.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/1.27, allocations: 1.263 MB / 1.383 GB, free: 13.61 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005481/1.27, allocations: 0.952 MB / 1.384 GB, free: 12.64 MB / 0.823 GB Notification: Performance of SimCode: time 2.8e-07/1.27, allocations: 4 kB / 1.384 GB, free: 12.63 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat does not exist to compare? outputFormat=mat