Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.1-maint.8.0.x/package.mo): time 1.3/1.3, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009815/0.0009816, allocations: 191.5 kB / 361.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9978/0.9978, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.001027/0.001027, allocations: 91.03 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1708/0.1718, allocations: 121.4 MB / 0.8512 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.5726, allocations: 115.3 MB / 0.9638 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.7014, allocations: 137.9 MB / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.7016, allocations: 85.67 kB / 1.099 GB, free: 1.977 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.005241/0.7069, allocations: 1.907 MB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.7069, allocations: 8 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.707, allocations: 19.81 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.7071, allocations: 183.9 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.7071, allocations: 4.562 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.7072, allocations: 4.516 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001112/0.7073, allocations: 40 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.7074, allocations: 80.75 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.7074, allocations: 0 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.7074, allocations: 0 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.7074, allocations: 9.016 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.7081, allocations: 385.1 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.756e-05/0.7082, allocations: 57.83 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.7083, allocations: 24.97 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.7083, allocations: 4 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.7083, allocations: 30.56 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.7083, allocations: 0 / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.000171/0.7085, allocations: 67.97 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.7085, allocations: 51.41 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.7086, allocations: 121.3 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.7086, allocations: 29.7 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.7087, allocations: 104 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.7087, allocations: 7.906 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.7087, allocations: 0 / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.7088, allocations: 322.7 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.7088, allocations: 20 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.7089, allocations: 21.81 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.7089, allocations: 16 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7089, allocations: 3.984 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001127/0.709, allocations: 65.61 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7091, allocations: 14.95 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7091, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.7091, allocations: 224 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/0.7092, allocations: 8 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.7092, allocations: 3.938 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.7094, allocations: 35.97 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.7094, allocations: 11.98 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.21e-05/0.7095, allocations: 113.6 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.7095, allocations: 7.906 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.7095, allocations: 8.188 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7095, allocations: 0 / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7096, allocations: 0 / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7096, allocations: 4 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.7097, allocations: 174.2 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.7097, allocations: 0.9375 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.7098, allocations: 15.91 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7098, allocations: 4 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.7098, allocations: 3.984 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7098, allocations: 1.75 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.7098, allocations: 0 / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001341/0.71, allocations: 163.2 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001992/0.7102, allocations: 0.5349 MB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.7102, allocations: 89 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.7102, allocations: 2.125 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.7105, allocations: 35.97 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.7105, allocations: 15.97 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.7105, allocations: 4 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.836e-05/0.7106, allocations: 106 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007464/0.7113, allocations: 19.84 kB / 1.103 GB, free: 12.86 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 9.597e-05/0.7114, allocations: 108.6 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.7116, allocations: 40 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.7116, allocations: 3.938 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.819e-05/0.7116, allocations: 26.62 kB / 1.103 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.7118, allocations: 11.98 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.7121, allocations: 116.2 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.7124, allocations: 0.7152 MB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7124, allocations: 0 / 1.104 GB, free: 11.78 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)