Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.369/1.369, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.0009844/0.0009844, allocations: 177.3 kB / 366.3 MB, free: 1.941 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.048/1.048, allocations: 205.1 MB / 0.6256 GB, free: 5.867 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.0008576/0.0008578, allocations: 83.39 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1867/0.1875, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.6061, allocations: 116.3 MB / 0.9727 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.742, allocations: 138.3 MB / 1.108 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.7422, allocations: 72.58 kB / 1.108 GB, free: 10.08 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01147/0.7537, allocations: 4.201 MB / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.7538, allocations: 8 kB / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.7538, allocations: 19.89 kB / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.754, allocations: 175.7 kB / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.754, allocations: 4 kB / 1.112 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.754, allocations: 16 kB / 1.112 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.693e-05/0.7541, allocations: 20 kB / 1.112 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.437e-05/0.7542, allocations: 49.67 kB / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.7542, allocations: 0 / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.7542, allocations: 0 / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.7542, allocations: 0 / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.7547, allocations: 401.2 kB / 1.113 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/0.7548, allocations: 35.08 kB / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.7548, allocations: 16.86 kB / 1.113 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.7548, allocations: 3.906 kB / 1.113 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.483e-05/0.7549, allocations: 76.61 kB / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.7549, allocations: 0 / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001908/0.7551, allocations: 93.52 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.7552, allocations: 55.41 kB / 1.113 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.345e-05/0.7552, allocations: 122.2 kB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.7553, allocations: 38.27 kB / 1.113 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.7553, allocations: 92.03 kB / 1.113 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.7554, allocations: 15.81 kB / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.7554, allocations: 4 kB / 1.113 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.7555, allocations: 322.8 kB / 1.113 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.7557, allocations: 79.98 kB / 1.113 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.7558, allocations: 123.5 kB / 1.114 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.7563, allocations: 111.8 kB / 1.114 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7563, allocations: 4 kB / 1.114 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006813/0.757, allocations: 285.4 kB / 1.114 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.757, allocations: 8.031 kB / 1.114 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.757, allocations: 0 / 1.114 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.757, allocations: 4 kB / 1.114 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.972e-05/0.757, allocations: 5.219 kB / 1.114 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.757, allocations: 0 / 1.114 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.7575, allocations: 123.8 kB / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.7576, allocations: 19.98 kB / 1.114 GB, free: 3.371 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.683e-05/0.7576, allocations: 117.7 kB / 1.114 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.7577, allocations: 7.906 kB / 1.114 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.7577, allocations: 12.38 kB / 1.114 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7577, allocations: 0 / 1.114 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.7577, allocations: 4 kB / 1.114 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.7577, allocations: 3.984 kB / 1.114 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.7578, allocations: 158.2 kB / 1.114 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7579, allocations: 3.906 kB / 1.114 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.7579, allocations: 4 kB / 1.114 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7579, allocations: 1.5 kB / 1.114 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.7579, allocations: 0 / 1.114 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7579, allocations: 3.938 kB / 1.114 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7579, allocations: 0 / 1.114 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001299/0.7581, allocations: 117 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001966/0.7583, allocations: 498.2 kB / 1.115 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.7583, allocations: 85.02 kB / 1.115 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.7583, allocations: 4 kB / 1.115 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.441e-05/0.7584, allocations: 4 kB / 1.115 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.7584, allocations: 11.98 kB / 1.115 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.7584, allocations: 6.062 kB / 1.115 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.001e-05/0.7585, allocations: 97.52 kB / 1.115 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008526/0.7594, allocations: 47.84 kB / 1.115 GB, free: 2.109 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001401/0.7595, allocations: 117.3 kB / 1.115 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.7598, allocations: 229.3 kB / 1.116 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7598, allocations: 8.125 kB / 1.116 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.7599, allocations: 31.94 kB / 1.116 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.7601, allocations: 23.97 kB / 1.116 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.7604, allocations: 111.5 kB / 1.116 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.7606, allocations: 0.7166 MB / 1.116 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7606, allocations: 0 / 1.116 GB, free: 0.8086 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)