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.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.205/1.205, allocations: 249.4 MB / 256.7 MB, free: 15.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009754/0.0009758, allocations: 190.9 kB / 316 MB, free: 7.238 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.262/1.262, allocations: 205.1 MB / 0.5667 GB, free: 24.06 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.0008462/0.0008462, allocations: 90.28 kB / 0.671 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2019/0.2027, allocations: 112.5 MB / 0.7808 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.6096, allocations: 106.3 MB / 0.8847 GB, free: 76.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1435/0.7532, allocations: 130.9 MB / 1.013 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.7534, allocations: 75.94 kB / 1.013 GB, free: 9.133 MB / 0.6667 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.006443/0.7599, allocations: 2.352 MB / 1.015 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.7599, allocations: 8 kB / 1.015 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.76, allocations: 19.81 kB / 1.015 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.7602, allocations: 228.4 kB / 1.015 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.7603, allocations: 4 kB / 1.015 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.7603, allocations: 20 kB / 1.015 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001865/0.7605, allocations: 91.95 kB / 1.015 GB, free: 6.332 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.7607, allocations: 139.3 kB / 1.015 GB, free: 6.184 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.7607, allocations: 0 / 1.015 GB, free: 6.184 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.7607, allocations: 0 / 1.015 GB, free: 6.184 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.7607, allocations: 4 kB / 1.015 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/0.7615, allocations: 0.5712 MB / 1.016 GB, free: 5.566 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.7618, allocations: 207.5 kB / 1.016 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.7619, allocations: 52.84 kB / 1.016 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.7619, allocations: 0 / 1.016 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.762, allocations: 106 kB / 1.016 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=20): time 1.874e-06/0.762, allocations: 4 kB / 1.016 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20): time 0.0002591/0.7623, allocations: 141.4 kB / 1.016 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.7624, allocations: 59.39 kB / 1.016 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.7625, allocations: 157.9 kB / 1.017 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.7626, allocations: 29.7 kB / 1.017 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.7626, allocations: 100.4 kB / 1.017 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.7627, allocations: 35.61 kB / 1.017 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.7627, allocations: 0 / 1.017 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.7628, allocations: 330.7 kB / 1.017 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.826e-05/0.7629, allocations: 44 kB / 1.017 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-05/0.763, allocations: 98.81 kB / 1.017 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.642e-05/0.763, allocations: 42.03 kB / 1.017 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.763, allocations: 0 / 1.017 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002313/0.7633, allocations: 165.3 kB / 1.017 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.7633, allocations: 4 kB / 1.017 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7633, allocations: 0 / 1.017 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.7633, allocations: 7.984 kB / 1.017 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.7634, allocations: 19.94 kB / 1.017 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.7634, allocations: 4 kB / 1.017 GB, free: 3.883 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.7636, allocations: 44.05 kB / 1.018 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.7637, allocations: 8 kB / 1.018 GB, free: 3.832 MB / 0.6667 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,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.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,mulAnd0.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.855e-05/0.7638, allocations: 131.1 kB / 1.018 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.7638, allocations: 15.81 kB / 1.018 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.7638, allocations: 24.67 kB / 1.018 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.7638, allocations: 0 / 1.018 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7639, allocations: 0 / 1.018 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.7639, allocations: 0 / 1.018 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.7643, allocations: 449.6 kB / 1.018 GB, free: 3.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7643, allocations: 4 kB / 1.018 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.7644, allocations: 7.984 kB / 1.018 GB, free: 3.168 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.7644, allocations: 0 / 1.018 GB, free: 3.168 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.7644, allocations: 0 / 1.018 GB, free: 3.168 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7644, allocations: 7.844 kB / 1.018 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7644, allocations: 7.938 kB / 1.018 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002253/0.7646, allocations: 241.9 kB / 1.018 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003344/0.765, allocations: 0.6119 MB / 1.019 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.765, allocations: 88.92 kB / 1.019 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.7651, allocations: 3.984 kB / 1.019 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.7653, allocations: 39.97 kB / 1.019 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.7654, allocations: 27.95 kB / 1.019 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.7654, allocations: 15.98 kB / 1.019 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.693e-05/0.7655, allocations: 115.2 kB / 1.019 GB, free: 1.969 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008006/0.7663, allocations: 32 kB / 1.019 GB, free: 1.938 MB / 0.6667 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],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0001368/0.7664, allocations: 103.2 kB / 1.019 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.7666, allocations: 127.9 kB / 1.019 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7666, allocations: 0 / 1.019 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.7668, allocations: 75.92 kB / 1.02 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.7671, allocations: 36.34 kB / 1.02 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.7676, allocations: 244.6 kB / 1.02 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.768, allocations: 0.7472 MB / 1.021 GB, free: 0.5547 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/0.768, allocations: 0 / 1.021 GB, free: 0.5547 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)