Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.36/1.36, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.0009508/0.0009508, allocations: 181.3 kB / 366.3 MB, free: 2 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.063/1.063, allocations: 205.1 MB / 0.6256 GB, free: 5.898 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008145/0.0008145, allocations: 94.33 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1873/0.1881, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.6059, allocations: 116.3 MB / 0.9727 GB, free: 68.55 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.7406, allocations: 138.5 MB / 1.108 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.7409, allocations: 71.95 kB / 1.108 GB, free: 9.898 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.01928/0.7602, allocations: 7.071 MB / 1.115 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.7602, allocations: 8 kB / 1.115 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/0.7603, allocations: 28.47 kB / 1.115 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.7606, allocations: 282.8 kB / 1.115 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.7607, allocations: 4 kB / 1.115 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.7607, allocations: 24 kB / 1.115 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001493/0.7609, allocations: 75.97 kB / 1.115 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.7611, allocations: 127.3 kB / 1.115 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7611, allocations: 7.906 kB / 1.115 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.7611, allocations: 4.734 kB / 1.115 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.7611, allocations: 0 / 1.115 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.7619, allocations: 0.6765 MB / 1.116 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.7621, allocations: 159.7 kB / 1.116 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.295e-05/0.7621, allocations: 36.86 kB / 1.116 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.7621, allocations: 0 / 1.116 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.7623, allocations: 116 kB / 1.116 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.7623, allocations: 0 / 1.116 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0002768/0.7626, allocations: 164.4 kB / 1.117 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.7626, allocations: 63.41 kB / 1.117 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.7627, allocations: 157.8 kB / 1.117 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.7628, allocations: 33.7 kB / 1.117 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.7629, allocations: 120.6 kB / 1.117 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.7629, allocations: 40.92 kB / 1.117 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.7629, allocations: 8 kB / 1.117 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.763, allocations: 330.8 kB / 1.117 GB, free: 164 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.7633, allocations: 136 kB / 1.117 GB, free: 28 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.7636, allocations: 228 kB / 1.118 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/0.7643, allocations: 183.8 kB / 1.118 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7643, allocations: 3.906 kB / 1.118 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001111/0.7654, allocations: 469.2 kB / 1.118 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.7654, allocations: 4 kB / 1.118 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7654, allocations: 4 kB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.7654, allocations: 4 kB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.804e-05/0.7655, allocations: 19.88 kB / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.7655, allocations: 4 kB / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007845/0.7663, allocations: 204 kB / 1.118 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.7664, allocations: 31.97 kB / 1.119 GB, free: 14.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulAnd0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001089/0.7665, allocations: 131 kB / 1.119 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.7665, allocations: 19.72 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.7666, allocations: 21.53 kB / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7666, allocations: 0 / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7666, allocations: 0 / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.7666, allocations: 11.97 kB / 1.119 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.767, allocations: 434.9 kB / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.767, allocations: 4 kB / 1.119 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.767, allocations: 12.58 kB / 1.119 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.767, allocations: 0 / 1.119 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.767, allocations: 4 kB / 1.119 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.767, allocations: 0 / 1.119 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7671, allocations: 0 / 1.119 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002054/0.7673, allocations: 245.5 kB / 1.119 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002862/0.7676, allocations: 0.6173 MB / 1.12 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.7676, allocations: 89.48 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.7676, allocations: 7.938 kB / 1.12 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.7677, allocations: 3.984 kB / 1.12 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.7678, allocations: 15.98 kB / 1.12 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.7678, allocations: 11.98 kB / 1.12 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.777e-05/0.7679, allocations: 111.3 kB / 1.12 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009381/0.7688, allocations: 68.56 kB / 1.12 GB, free: 12.96 MB / 0.7292 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * 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.0001635/0.769, allocations: 127.3 kB / 1.12 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005205/0.7695, allocations: 408.3 kB / 1.121 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7695, allocations: 0 / 1.121 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.371e-05/0.7696, allocations: 67.92 kB / 1.121 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.7699, allocations: 44.34 kB / 1.121 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.7703, allocations: 224.1 kB / 1.121 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.7706, allocations: 0.7589 MB / 1.122 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.7706, allocations: 0 / 1.122 GB, free: 11.27 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)