Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.304/1.304, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0008951/0.000895, allocations: 185.3 kB / 361.1 MB, free: 7.098 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.011/1.011, allocations: 205.1 MB / 0.6195 GB, free: 10.4 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.0007587/0.0007586, allocations: 89.48 kB / 0.7325 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1737/0.1745, allocations: 121.5 MB / 0.8512 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.5818, allocations: 115.3 MB / 0.9638 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.7091, allocations: 137.5 MB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.7094, allocations: 74.66 kB / 1.098 GB, free: 2.395 MB / 0.698 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.01891/0.7283, allocations: 7.065 MB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.7283, allocations: 8.5 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.7284, allocations: 27.81 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.7288, allocations: 282.8 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.7288, allocations: 4 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.7288, allocations: 24 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001423/0.729, allocations: 75.97 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.7292, allocations: 136.1 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7292, allocations: 7.906 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.7292, allocations: 3.984 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.7292, allocations: 4 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/0.7299, allocations: 0.6709 MB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.7301, allocations: 155.7 kB / 1.106 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.979e-05/0.7302, allocations: 40.86 kB / 1.106 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.7302, allocations: 0.75 kB / 1.106 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.7303, allocations: 122.7 kB / 1.107 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.7303, allocations: 0 / 1.107 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0002623/0.7306, allocations: 157.3 kB / 1.107 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.7306, allocations: 59.41 kB / 1.107 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.7307, allocations: 153.3 kB / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.7308, allocations: 33.7 kB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.7309, allocations: 124.6 kB / 1.107 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.7309, allocations: 41.77 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.731, allocations: 12 kB / 1.107 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.731, allocations: 330.8 kB / 1.107 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.7313, allocations: 136 kB / 1.108 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.7316, allocations: 214.2 kB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006298/0.7322, allocations: 187.8 kB / 1.108 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7322, allocations: 3.906 kB / 1.108 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001079/0.7333, allocations: 467 kB / 1.108 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.7334, allocations: 4 kB / 1.108 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7334, allocations: 7.938 kB / 1.108 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.7334, allocations: 4.344 kB / 1.108 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.739e-05/0.7334, allocations: 12 kB / 1.108 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.7334, allocations: 11.88 kB / 1.108 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/0.7342, allocations: 203.7 kB / 1.109 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.7343, allocations: 31.97 kB / 1.109 GB, free: 7.434 MB / 0.7136 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.0001047/0.7344, allocations: 126.2 kB / 1.109 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.7344, allocations: 19.72 kB / 1.109 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.7344, allocations: 17.59 kB / 1.109 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7345, allocations: 7.984 kB / 1.109 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7345, allocations: 0 / 1.109 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7345, allocations: 7.984 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.7349, allocations: 438 kB / 1.109 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7349, allocations: 0 / 1.109 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.7349, allocations: 14.05 kB / 1.109 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7349, allocations: 2.25 kB / 1.109 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.7349, allocations: 0 / 1.109 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7349, allocations: 4 kB / 1.109 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7349, allocations: 0 / 1.109 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002157/0.7352, allocations: 243.3 kB / 1.109 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002846/0.7355, allocations: 0.6238 MB / 1.11 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.7355, allocations: 88.92 kB / 1.11 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.7355, allocations: 0 / 1.11 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.7356, allocations: 3.984 kB / 1.11 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.7356, allocations: 19.98 kB / 1.11 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.7357, allocations: 15.98 kB / 1.11 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.809e-05/0.7357, allocations: 117 kB / 1.11 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008623/0.7366, allocations: 71.91 kB / 1.11 GB, free: 5.543 MB / 0.7136 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.0001431/0.7367, allocations: 123 kB / 1.111 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004971/0.7373, allocations: 400.8 kB / 1.111 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7373, allocations: 8.25 kB / 1.111 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.94e-05/0.7374, allocations: 67.92 kB / 1.111 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.7376, allocations: 39.39 kB / 1.111 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.738, allocations: 228.1 kB / 1.111 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.7383, allocations: 0.7596 MB / 1.112 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7384, allocations: 0 / 1.112 GB, free: 3.852 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)