Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.261/1.261, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009914/0.0009916, allocations: 182.3 kB / 316 MB, free: 7.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 0.5667 GB, free: 23.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007868/0.000787, allocations: 94.19 kB / 0.671 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2071/0.2079, allocations: 112.5 MB / 0.7808 GB, free: 260 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.6174, allocations: 106.3 MB / 0.8847 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.7625, allocations: 131.8 MB / 1.013 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.7628, allocations: 91.88 kB / 1.013 GB, free: 8.234 MB / 0.6667 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.005634/0.7685, allocations: 1.954 MB / 1.015 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.7685, allocations: 8 kB / 1.015 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.7686, allocations: 11.91 kB / 1.015 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.7687, allocations: 182.8 kB / 1.016 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.7688, allocations: 0 / 1.016 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.7688, allocations: 8 kB / 1.016 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001154/0.7689, allocations: 40 kB / 1.016 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.769, allocations: 81.81 kB / 1.016 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.7691, allocations: 0 / 1.016 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.7691, allocations: 3.938 kB / 1.016 GB, free: 5.859 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.7691, allocations: 4 kB / 1.016 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.7698, allocations: 377.1 kB / 1.016 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.7699, allocations: 54.58 kB / 1.016 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.7699, allocations: 16.98 kB / 1.016 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.7699, allocations: 8 kB / 1.016 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.77, allocations: 34.55 kB / 1.016 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.77, allocations: 0 / 1.016 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of matching and sorting (n=5): time 0.0001849/0.7702, allocations: 61.52 kB / 1.016 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.7702, allocations: 55.39 kB / 1.016 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.7703, allocations: 131.1 kB / 1.016 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.7704, allocations: 29.7 kB / 1.016 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.7704, allocations: 100.1 kB / 1.016 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.7704, allocations: 15.81 kB / 1.017 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.7705, allocations: 0 / 1.017 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7706, allocations: 318.8 kB / 1.017 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-05/0.7706, allocations: 20 kB / 1.017 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.7707, allocations: 16 kB / 1.017 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.7707, allocations: 12.16 kB / 1.017 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7707, allocations: 0 / 1.017 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001321/0.7708, allocations: 81.56 kB / 1.017 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.7709, allocations: 8 kB / 1.017 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7709, allocations: 3.984 kB / 1.017 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.7709, allocations: 3.906 kB / 1.017 GB, free: 4.426 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.771, allocations: 15.98 kB / 1.017 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.771, allocations: 4 kB / 1.017 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.7712, allocations: 39.91 kB / 1.017 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.7712, allocations: 0 / 1.017 GB, free: 4.367 MB / 0.6667 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 9.534e-05/0.7713, allocations: 117 kB / 1.017 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.7713, allocations: 7.906 kB / 1.017 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.7714, allocations: 8.188 kB / 1.017 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.7714, allocations: 0 / 1.017 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7714, allocations: 7.906 kB / 1.017 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7714, allocations: 0 / 1.017 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.7716, allocations: 166.2 kB / 1.017 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.7716, allocations: 7.938 kB / 1.017 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-05/0.7717, allocations: 15.98 kB / 1.017 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7717, allocations: 0 / 1.017 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.7717, allocations: 0 / 1.017 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7717, allocations: 0 / 1.017 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7717, allocations: 3.984 kB / 1.017 GB, free: 4 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001459/0.7718, allocations: 169.9 kB / 1.017 GB, free: 3.82 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002399/0.7721, allocations: 0.5272 MB / 1.018 GB, free: 3.273 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.7721, allocations: 85.02 kB / 1.018 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.7722, allocations: 3.984 kB / 1.018 GB, free: 3.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.7724, allocations: 39.88 kB / 1.018 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.7724, allocations: 7.984 kB / 1.018 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.7725, allocations: 11.98 kB / 1.018 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.078e-05/0.7725, allocations: 95.97 kB / 1.018 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007599/0.7733, allocations: 15.94 kB / 1.018 GB, free: 3 MB / 0.6667 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 0.0001288/0.7734, allocations: 107.4 kB / 1.018 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.7736, allocations: 47.94 kB / 1.018 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.7736, allocations: 0 / 1.018 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.352e-05/0.7736, allocations: 24 kB / 1.018 GB, free: 2.816 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.7738, allocations: 19.83 kB / 1.018 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.7742, allocations: 103.5 kB / 1.019 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.7746, allocations: 0.7191 MB / 1.019 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of SimCode: time 2.21e-07/0.7746, allocations: 0 / 1.019 GB, free: 1.922 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)