Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.393/1.393, 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.001058/0.001058, allocations: 177.3 kB / 366.3 MB, free: 2.012 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.068/1.068, allocations: 205.2 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.0007967/0.0007967, allocations: 85.34 kB / 0.7395 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1903/0.1912, allocations: 122.4 MB / 0.8591 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.6005, allocations: 116.3 MB / 0.9727 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.7403, allocations: 138.2 MB / 1.108 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.7405, allocations: 71.95 kB / 1.108 GB, free: 10.17 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.008318/0.7488, allocations: 3.009 MB / 1.111 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.7489, allocations: 8 kB / 1.111 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.7489, allocations: 8 kB / 1.111 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.7491, allocations: 171 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.7491, allocations: 0 / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.7491, allocations: 18.23 kB / 1.111 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.64e-05/0.7492, allocations: 12 kB / 1.111 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.407e-05/0.7493, allocations: 45.69 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.7493, allocations: 0 / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.7493, allocations: 0 / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.7493, allocations: 15.83 kB / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.7497, allocations: 325.4 kB / 1.111 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.414e-05/0.7498, allocations: 26.58 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.7498, allocations: 20.86 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.7498, allocations: 3.906 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.486e-05/0.7499, allocations: 63.48 kB / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.506e-06/0.7499, allocations: 0 / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001666/0.7501, allocations: 77.52 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.7501, allocations: 55.41 kB / 1.111 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.186e-05/0.7502, allocations: 111 kB / 1.112 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.7502, allocations: 33.7 kB / 1.112 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.7503, allocations: 88.23 kB / 1.112 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.7503, allocations: 15.84 kB / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.7503, allocations: 4 kB / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7505, allocations: 322.7 kB / 1.112 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.7506, allocations: 51.98 kB / 1.112 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.7507, allocations: 84.28 kB / 1.112 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.751, allocations: 75.86 kB / 1.112 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.751, allocations: 0 / 1.112 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005008/0.7515, allocations: 194.2 kB / 1.112 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.7516, allocations: 4 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.7516, allocations: 0 / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.7516, allocations: 4 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.736e-05/0.7516, allocations: 11.92 kB / 1.112 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.7516, allocations: 2.031 kB / 1.112 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.752, allocations: 81.66 kB / 1.113 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.752, allocations: 8 kB / 1.113 GB, free: 5.055 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.472e-05/0.7521, allocations: 120.9 kB / 1.113 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.7521, allocations: 4 kB / 1.113 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.7521, allocations: 12.28 kB / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.7521, allocations: 0 / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.7521, allocations: 0 / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.7521, allocations: 0 / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.7523, allocations: 150.2 kB / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7523, allocations: 3.938 kB / 1.113 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.7523, allocations: 3.984 kB / 1.113 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7523, allocations: 0 / 1.113 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.7523, allocations: 8 kB / 1.113 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7523, allocations: 4.062 kB / 1.113 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7523, allocations: 0 / 1.113 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000116/0.7524, allocations: 100.9 kB / 1.113 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001994/0.7526, allocations: 473.4 kB / 1.113 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.7527, allocations: 89.86 kB / 1.113 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.7527, allocations: 3.984 kB / 1.113 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.7527, allocations: 0 / 1.113 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.7528, allocations: 4 kB / 1.113 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.7528, allocations: 3.984 kB / 1.113 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.567e-05/0.7528, allocations: 87.94 kB / 1.114 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008295/0.7537, allocations: 39.94 kB / 1.114 GB, free: 3.863 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.7538, allocations: 115.2 kB / 1.114 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.754, allocations: 159.3 kB / 1.114 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.754, allocations: 4 kB / 1.114 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.7541, allocations: 22.58 kB / 1.114 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.7542, allocations: 16.55 kB / 1.114 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.7545, allocations: 95.47 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.7547, allocations: 0.7047 MB / 1.115 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7547, allocations: 4 kB / 1.115 GB, free: 2.688 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)