Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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 8.1.4-maint.8.1.x/package.mo): time 1.409/1.409, allocations: 289.8 MB / 297.1 MB, free: 8.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 184.3 kB / 366.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 205.1 MB / 0.6255 GB, free: 11.38 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008708/0.0008707, allocations: 87.44 kB / 0.7396 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3768/0.3777, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.5373, allocations: 116.3 MB / 0.9727 GB, free: 31.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4315/0.9688, allocations: 138.5 MB / 1.108 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.969, allocations: 68.39 kB / 1.108 GB, free: 16.41 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.006267/0.9753, allocations: 2.188 MB / 1.11 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.9754, allocations: 10.77 kB / 1.11 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.9754, allocations: 8.906 kB / 1.11 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.357e-05/0.9755, allocations: 168 kB / 1.11 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.9755, allocations: 1.844 kB / 1.11 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.9756, allocations: 5.875 kB / 1.11 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.039e-05/0.9756, allocations: 17.7 kB / 1.11 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.995e-05/0.9757, allocations: 52.53 kB / 1.11 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.9757, allocations: 4.594 kB / 1.11 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.9758, allocations: 0.5312 kB / 1.11 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9758, allocations: 0.5312 kB / 1.11 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.9761, allocations: 309.4 kB / 1.111 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.47e-05/0.9762, allocations: 46.69 kB / 1.111 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.9763, allocations: 25.47 kB / 1.111 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.9763, allocations: 1.188 kB / 1.111 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.413e-05/0.9764, allocations: 70.31 kB / 1.111 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.114e-06/0.9764, allocations: 0 / 1.111 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0001579/0.9765, allocations: 77.67 kB / 1.111 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.51e-05/0.9766, allocations: 52.97 kB / 1.111 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.9766, allocations: 109.4 kB / 1.111 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.9766, allocations: 29.91 kB / 1.111 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.9767, allocations: 95.42 kB / 1.111 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.9767, allocations: 15.09 kB / 1.111 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.9767, allocations: 1.344 kB / 1.111 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.773e-05/0.9768, allocations: 319.9 kB / 1.112 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.9768, allocations: 31.22 kB / 1.112 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.9769, allocations: 71.22 kB / 1.112 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.9771, allocations: 50 kB / 1.112 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9771, allocations: 1.438 kB / 1.112 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003173/0.9774, allocations: 149.2 kB / 1.112 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.9775, allocations: 4.562 kB / 1.112 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.9775, allocations: 2.281 kB / 1.112 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.9775, allocations: 0.875 kB / 1.112 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.9776, allocations: 15.36 kB / 1.112 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.9776, allocations: 10.41 kB / 1.112 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.9778, allocations: 56.36 kB / 1.112 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.9779, allocations: 5.688 kB / 1.112 GB, free: 14.59 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 5.203e-05/0.9779, allocations: 113 kB / 1.112 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.9779, allocations: 6.719 kB / 1.112 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.978, allocations: 9.75 kB / 1.112 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.978, allocations: 1.531 kB / 1.112 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.978, allocations: 0 / 1.112 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.978, allocations: 6.938 kB / 1.112 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.9782, allocations: 313.9 kB / 1.112 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9782, allocations: 1.656 kB / 1.112 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.9783, allocations: 10.72 kB / 1.112 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.9783, allocations: 1.219 kB / 1.112 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.9783, allocations: 6.062 kB / 1.112 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9783, allocations: 3.938 kB / 1.112 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9783, allocations: 5.781 kB / 1.112 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000104/0.9784, allocations: 172.4 kB / 1.113 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001295/0.9786, allocations: 0.5378 MB / 1.113 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.9786, allocations: 84.05 kB / 1.113 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.9786, allocations: 5.688 kB / 1.113 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.9787, allocations: 13 kB / 1.113 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.9787, allocations: 8.375 kB / 1.113 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.9788, allocations: 7.75 kB / 1.113 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.397e-05/0.9788, allocations: 85.97 kB / 1.113 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008321/0.9796, allocations: 34.95 kB / 1.113 GB, free: 13.36 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.00011/0.9797, allocations: 107.7 kB / 1.113 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.9799, allocations: 108.9 kB / 1.113 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.9799, allocations: 0 / 1.113 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.98, allocations: 28 kB / 1.113 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.9802, allocations: 8.375 kB / 1.114 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.9804, allocations: 92.86 kB / 1.114 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.9807, allocations: 0.706 MB / 1.114 GB, free: 28.45 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.9807, allocations: 1.312 kB / 1.114 GB, free: 28.45 MB / 0.698 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)