Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",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/BuildingSystems 2.0.0-master/package.mo): time 0.8702/0.8702, allocations: 141.8 MB / 149.1 MB, free: 12.05 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 176.5 kB / 181.9 MB, free: 8.824 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.3 MB / 436 MB, free: 1.062 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 100 kB / 0.507 GB, free: 10.05 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 276.3 kB / 0.5884 GB, free: 6.875 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1937/0.1956, allocations: 89.65 MB / 0.676 GB, free: 13.14 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.6488, allocations: 82.77 MB / 0.7568 GB, free: 138.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.7687, allocations: 108.6 MB / 0.8628 GB, free: 29.39 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.769, allocations: 76.97 kB / 0.8629 GB, free: 29.32 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.004264/0.7733, allocations: 1.447 MB / 0.8643 GB, free: 27.86 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.7733, allocations: 16.94 kB / 0.8643 GB, free: 27.84 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.7734, allocations: 1.25 kB / 0.8643 GB, free: 27.84 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.7735, allocations: 167 kB / 0.8645 GB, free: 27.64 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.7735, allocations: 0 / 0.8645 GB, free: 27.64 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.7735, allocations: 5.188 kB / 0.8645 GB, free: 27.64 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.672e-05/0.7736, allocations: 27.98 kB / 0.8645 GB, free: 27.61 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.165e-05/0.7737, allocations: 53.56 kB / 0.8646 GB, free: 27.55 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.7737, allocations: 1.594 kB / 0.8646 GB, free: 27.55 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.7737, allocations: 0 / 0.8646 GB, free: 27.55 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7737, allocations: 0 / 0.8646 GB, free: 27.55 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.7741, allocations: 276.7 kB / 0.8649 GB, free: 27.25 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.34e-05/0.7742, allocations: 47.45 kB / 0.8649 GB, free: 27.19 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.7743, allocations: 29.11 kB / 0.8649 GB, free: 27.16 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.7743, allocations: 0.6562 kB / 0.8649 GB, free: 27.16 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.049e-05/0.7744, allocations: 60.61 kB / 0.865 GB, free: 27.09 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.7744, allocations: 0 / 0.865 GB, free: 27.09 MB / 0.5575 GB Notification: Performance of matching and sorting (n=9): time 0.0001636/0.7746, allocations: 74.34 kB / 0.8651 GB, free: 27.01 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.7746, allocations: 56.09 kB / 0.8651 GB, free: 26.95 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.738e-05/0.7746, allocations: 97 kB / 0.8652 GB, free: 26.84 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.7747, allocations: 26.2 kB / 0.8652 GB, free: 26.81 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.7747, allocations: 89.31 kB / 0.8653 GB, free: 26.72 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.7747, allocations: 19.75 kB / 0.8653 GB, free: 26.7 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.7747, allocations: 0 / 0.8653 GB, free: 26.7 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.7748, allocations: 324.4 kB / 0.8656 GB, free: 26.38 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.7749, allocations: 15.94 kB / 0.8657 GB, free: 26.36 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.575e-05/0.7749, allocations: 41.89 kB / 0.8657 GB, free: 26.31 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.775, allocations: 20.97 kB / 0.8657 GB, free: 26.29 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.775, allocations: 0 / 0.8657 GB, free: 26.29 MB / 0.5575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000109/0.7751, allocations: 86.09 kB / 0.8658 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.7751, allocations: 8.625 kB / 0.8658 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7751, allocations: 0 / 0.8658 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.7751, allocations: 4.547 kB / 0.8658 GB, free: 26.19 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.7752, allocations: 12.03 kB / 0.8658 GB, free: 26.18 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.7752, allocations: 4 kB / 0.8658 GB, free: 26.18 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.7753, allocations: 7.969 kB / 0.8658 GB, free: 26.17 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.7753, allocations: 12.08 kB / 0.8658 GB, free: 26.16 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.926e-05/0.7754, allocations: 117.9 kB / 0.866 GB, free: 26.04 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.7754, allocations: 7.906 kB / 0.866 GB, free: 26.03 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.7754, allocations: 4.062 kB / 0.866 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.7754, allocations: 4 kB / 0.866 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7755, allocations: 0 / 0.866 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7755, allocations: 0 / 0.866 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.7757, allocations: 327 kB / 0.8663 GB, free: 25.66 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7758, allocations: 4 kB / 0.8663 GB, free: 25.65 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.7758, allocations: 4 kB / 0.8663 GB, free: 25.65 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7758, allocations: 0 / 0.8663 GB, free: 25.65 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.7758, allocations: 7.906 kB / 0.8663 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.7758, allocations: 0 / 0.8663 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7758, allocations: 0 / 0.8663 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001034/0.7759, allocations: 171.4 kB / 0.8665 GB, free: 25.46 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001439/0.7761, allocations: 0.535 MB / 0.867 GB, free: 24.9 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.7761, allocations: 81.09 kB / 0.8671 GB, free: 24.8 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.7761, allocations: 4 kB / 0.8671 GB, free: 24.8 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.7762, allocations: 7.906 kB / 0.8671 GB, free: 24.79 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.7763, allocations: 7.984 kB / 0.8671 GB, free: 24.79 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.7763, allocations: 4 kB / 0.8671 GB, free: 24.78 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.211e-05/0.7763, allocations: 87.55 kB / 0.8672 GB, free: 24.7 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0007588/0.7771, allocations: 15.94 kB / 0.8672 GB, free: 24.68 MB / 0.5575 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 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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 7.737e-05/0.7772, allocations: 99.19 kB / 0.8673 GB, free: 24.57 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 9.69e-05/0.7773, allocations: 51.88 kB / 0.8673 GB, free: 24.52 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7773, allocations: 0 / 0.8673 GB, free: 24.52 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 4.337e-05/0.7773, allocations: 23.94 kB / 0.8674 GB, free: 24.5 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.7775, allocations: 10.33 kB / 0.8674 GB, free: 24.49 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/0.7778, allocations: 88.47 kB / 0.8674 GB, free: 24.38 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.7779, allocations: 0.6997 MB / 0.8681 GB, free: 23.66 MB / 0.5575 GB Notification: Performance of SimCode: time 2.4e-07/0.7779, allocations: 0 / 0.8681 GB, free: 23.66 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)