Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 185.2 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.17/1.17, allocations: 205.2 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008859/0.0008859, allocations: 91.27 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3179/0.3188, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.4687, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.9152, allocations: 132 MB / 1.014 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.9154, allocations: 68.27 kB / 1.014 GB, free: 6.48 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00623/0.9217, allocations: 2.352 MB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.9217, allocations: 8 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.9218, allocations: 15.81 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.922, allocations: 228.3 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.922, allocations: 4.75 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.922, allocations: 12 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001769/0.9222, allocations: 90.47 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.9224, allocations: 148.5 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.9224, allocations: 3.984 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.9225, allocations: 0 / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.9225, allocations: 4 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007853/0.9233, allocations: 0.5622 MB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.9235, allocations: 214 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.9236, allocations: 50.34 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.9236, allocations: 0 / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.9237, allocations: 107.1 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.9237, allocations: 0 / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0002435/0.924, allocations: 142.7 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.924, allocations: 54.34 kB / 1.018 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.9241, allocations: 159.4 kB / 1.018 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.9242, allocations: 29.7 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.9242, allocations: 108 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.9243, allocations: 35.16 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-06/0.9243, allocations: 3 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.9244, allocations: 330.3 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.9245, allocations: 45.42 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.9246, allocations: 92.5 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.098e-05/0.9246, allocations: 38.91 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9246, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002177/0.9249, allocations: 167.4 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.9249, allocations: 8 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.9249, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.9249, allocations: 4 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.925, allocations: 18.98 kB / 1.019 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.925, allocations: 4 kB / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.9252, allocations: 44.06 kB / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.9252, allocations: 8 kB / 1.019 GB, free: 1.766 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulOr0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.228e-05/0.9253, allocations: 130.6 kB / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.9254, allocations: 11.81 kB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.9254, allocations: 19.38 kB / 1.019 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.9254, allocations: 4.875 kB / 1.019 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9254, allocations: 0 / 1.019 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9254, allocations: 3.984 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.9259, allocations: 449.1 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9259, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.9259, allocations: 4 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9259, allocations: 2.062 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.9259, allocations: 7.984 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.9259, allocations: 7.844 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9259, allocations: 3.938 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002093/0.9262, allocations: 237.3 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003502/0.9265, allocations: 0.6151 MB / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.9266, allocations: 88.92 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.9266, allocations: 0 / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.9268, allocations: 43.95 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.9269, allocations: 30.58 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.9269, allocations: 4 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7.438e-05/0.927, allocations: 121.2 kB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007913/0.9278, allocations: 35.91 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001257/0.9279, allocations: 107.2 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.9281, allocations: 125.6 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.9281, allocations: 0 / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.9283, allocations: 72.06 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.9286, allocations: 38.84 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.9291, allocations: 237.7 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.9294, allocations: 0.758 MB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.9294, allocations: 0 / 1.022 GB, free: 14.72 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)