Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.129/2.129, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001562/0.001562, allocations: 181.3 kB / 360.3 MB, free: 7.551 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.657/1.657, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001203/0.001202, allocations: 85.91 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2477/0.249, allocations: 121.4 MB / 0.8502 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.7969, allocations: 115.2 MB / 0.9628 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/1.002, allocations: 137.1 MB / 1.097 GB, free: 3.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.003, allocations: 68.72 kB / 1.097 GB, free: 3.664 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02073/1.023, allocations: 4.209 MB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.023, allocations: 12.5 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.824e-05/1.024, allocations: 11.91 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/1.024, allocations: 182.8 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/1.024, allocations: 4 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/1.024, allocations: 12 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.235e-05/1.024, allocations: 16 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/1.024, allocations: 49.67 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.024, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/1.024, allocations: 4 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.024, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008043/1.025, allocations: 393.1 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.497e-05/1.025, allocations: 34.5 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/1.025, allocations: 16.86 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/1.025, allocations: 8.562 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/1.025, allocations: 75.48 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.873e-06/1.025, allocations: 4 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002877/1.026, allocations: 97.27 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/1.026, allocations: 51.41 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/1.026, allocations: 128.1 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/1.026, allocations: 29.7 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/1.026, allocations: 100.1 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/1.026, allocations: 19.8 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/1.026, allocations: 8 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.026, allocations: 322.8 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/1.026, allocations: 71.98 kB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/1.027, allocations: 123.8 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007391/1.028, allocations: 114.3 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.028, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001247/1.029, allocations: 281.2 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.029, allocations: 8 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.029, allocations: 1.5 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.029, allocations: 4 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.733e-05/1.029, allocations: 4 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.029, allocations: 0 / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009287/1.03, allocations: 120 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/1.03, allocations: 23.98 kB / 1.103 GB, free: 13.01 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 0.0001389/1.03, allocations: 120.7 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/1.03, allocations: 11.84 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/1.03, allocations: 12.38 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.03, allocations: 0 / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.03, allocations: 0 / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.03, allocations: 0 / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/1.03, allocations: 170.2 kB / 1.103 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/1.03, allocations: 5.719 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/1.031, allocations: 4 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/1.031, allocations: 4 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/1.031, allocations: 0 / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/1.031, allocations: 3.938 kB / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.031, allocations: 0 / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002173/1.031, allocations: 110.1 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003444/1.031, allocations: 0.4947 MB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/1.031, allocations: 81.02 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/1.031, allocations: 4 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-05/1.031, allocations: 0 / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/1.031, allocations: 11.98 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/1.031, allocations: 4 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.13e-05/1.031, allocations: 95.27 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001128/1.033, allocations: 51.84 kB / 1.104 GB, free: 11.75 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.0001981/1.033, allocations: 118.1 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005708/1.033, allocations: 236.8 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.033, allocations: 0 / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/1.034, allocations: 35.94 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/1.034, allocations: 21.86 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/1.034, allocations: 116.3 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/1.035, allocations: 0.7075 MB / 1.105 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/1.035, allocations: 4 kB / 1.105 GB, free: 10.45 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)