Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer",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.392/1.392, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.0009885/0.0009885, allocations: 173.3 kB / 366.3 MB, free: 2.031 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.076/1.076, allocations: 205.1 MB / 0.6256 GB, free: 7.492 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.0007871/0.0007871, allocations: 85.55 kB / 0.7395 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1934/0.1942, allocations: 122.4 MB / 0.8591 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4775/0.6717, allocations: 116.3 MB / 0.9726 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.8184, allocations: 138.9 MB / 1.108 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.8187, allocations: 68.53 kB / 1.108 GB, free: 11.6 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00303/0.8217, allocations: 1.127 MB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.8218, allocations: 12.53 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.8218, allocations: 0.5938 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.8219, allocations: 174.9 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.8219, allocations: 4.5 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.822, allocations: 5.453 kB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.946e-05/0.822, allocations: 27.94 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.786e-05/0.8221, allocations: 53.27 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.8221, allocations: 0 / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.8222, allocations: 0.8438 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8222, allocations: 0 / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.8225, allocations: 276.5 kB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.33e-05/0.8226, allocations: 47.81 kB / 1.11 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.8227, allocations: 25.77 kB / 1.11 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/0.8227, allocations: 0 / 1.11 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.634e-05/0.8228, allocations: 61.81 kB / 1.11 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.8228, allocations: 3.938 kB / 1.11 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001475/0.8229, allocations: 73 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.823, allocations: 59.38 kB / 1.11 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.8231, allocations: 97.56 kB / 1.11 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.8231, allocations: 26.27 kB / 1.11 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.8231, allocations: 88.86 kB / 1.11 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.8232, allocations: 15.8 kB / 1.11 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/0.8232, allocations: 0.5938 kB / 1.11 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.8233, allocations: 319.4 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.8233, allocations: 20.59 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.741e-05/0.8234, allocations: 44.08 kB / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/0.8234, allocations: 19.14 kB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8234, allocations: 4.812 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001138/0.8235, allocations: 78.19 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.8236, allocations: 10.5 kB / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.8236, allocations: 0.7812 kB / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.8236, allocations: 0 / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.8237, allocations: 16.61 kB / 1.111 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.8237, allocations: 7.938 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.8237, allocations: 8.031 kB / 1.111 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.8238, allocations: 4 kB / 1.111 GB, free: 8.758 MB / 0.7136 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 7.137e-05/0.8238, allocations: 116.7 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.8238, allocations: 12.17 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.8239, allocations: 8.062 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.8239, allocations: 3.984 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8239, allocations: 0 / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.8239, allocations: 5.031 kB / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.8242, allocations: 319 kB / 1.111 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8242, allocations: 1.25 kB / 1.111 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.8243, allocations: 4 kB / 1.111 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.8243, allocations: 7.906 kB / 1.111 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.8243, allocations: 9.062 kB / 1.111 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8243, allocations: 0 / 1.111 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8243, allocations: 1.797 kB / 1.111 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001339/0.8244, allocations: 167.4 kB / 1.112 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000221/0.8247, allocations: 0.5359 MB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.8247, allocations: 77.11 kB / 1.112 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.8247, allocations: 13.89 kB / 1.112 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.8248, allocations: 4 kB / 1.112 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.8249, allocations: 7.984 kB / 1.112 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.8249, allocations: 4 kB / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.178e-05/0.8249, allocations: 79.28 kB / 1.112 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007697/0.8257, allocations: 23.92 kB / 1.112 GB, free: 7.277 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 (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 0.0001049/0.8258, allocations: 99.19 kB / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.8259, allocations: 48.59 kB / 1.112 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.826, allocations: 0 / 1.112 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.973e-05/0.826, allocations: 23.98 kB / 1.112 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.8262, allocations: 8.734 kB / 1.112 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.8266, allocations: 123.5 kB / 1.113 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.8269, allocations: 0.6967 MB / 1.113 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.8269, allocations: 0 / 1.113 GB, free: 6.227 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)