Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",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.271/1.271, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 188.4 kB / 316 MB, free: 3.484 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.287/1.287, allocations: 205.2 MB / 0.5667 GB, free: 15.55 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.001009/0.001009, allocations: 92.83 kB / 0.671 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3909/0.392, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.5767, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5508/1.128, allocations: 136.6 MB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.128, allocations: 81.56 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.02288/1.151, allocations: 9.954 MB / 1.028 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.151, allocations: 8 kB / 1.028 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/1.151, allocations: 70.34 kB / 1.028 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/1.152, allocations: 426.8 kB / 1.028 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/1.152, allocations: 16 kB / 1.028 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/1.152, allocations: 24 kB / 1.028 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005212/1.152, allocations: 305.4 kB / 1.029 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/1.153, allocations: 406.9 kB / 1.029 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.153, allocations: 3.938 kB / 1.029 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/1.153, allocations: 0 / 1.029 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/1.153, allocations: 12 kB / 1.029 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/1.155, allocations: 1.82 MB / 1.031 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/1.156, allocations: 311.8 kB / 1.031 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/1.156, allocations: 152.4 kB / 1.031 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/1.156, allocations: 4 kB / 1.031 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.156, allocations: 40.61 kB / 1.031 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/1.156, allocations: 0 / 1.031 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0004853/1.156, allocations: 279.9 kB / 1.032 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/1.156, allocations: 110.8 kB / 1.032 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/1.157, allocations: 336.3 kB / 1.032 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/1.157, allocations: 25.7 kB / 1.032 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/1.157, allocations: 214.8 kB / 1.032 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/1.157, allocations: 109.1 kB / 1.032 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/1.157, allocations: 0 / 1.032 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.157, allocations: 351.7 kB / 1.033 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/1.157, allocations: 101.5 kB / 1.033 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/1.158, allocations: 160.5 kB / 1.033 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/1.158, allocations: 112 kB / 1.033 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.158, allocations: 0 / 1.033 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004598/1.158, allocations: 321.6 kB / 1.033 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.253e-05/1.158, allocations: 272.7 kB / 1.034 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.158, allocations: 0 / 1.034 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.158, allocations: 4 kB / 1.034 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/1.159, allocations: 95.44 kB / 1.034 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/1.159, allocations: 3.906 kB / 1.034 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/1.159, allocations: 56.03 kB / 1.034 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/1.159, allocations: 11.25 kB / 1.034 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-06/1.159, allocations: 7.938 kB / 1.034 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003749/1.159, allocations: 235.4 kB / 1.034 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/1.159, allocations: 0 / 1.034 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/1.159, allocations: 4 kB / 1.034 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/1.16, allocations: 75.44 kB / 1.034 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-06/1.16, allocations: 4.062 kB / 1.034 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/1.16, allocations: 39.81 kB / 1.034 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/1.16, allocations: 11.06 kB / 1.034 GB, free: 4.59 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 0.0001028/1.16, allocations: 120.8 kB / 1.034 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/1.16, allocations: 39.53 kB / 1.034 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/1.161, allocations: 311.5 kB / 1.035 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.161, allocations: 3.906 kB / 1.035 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.161, allocations: 4 kB / 1.035 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.161, allocations: 3.984 kB / 1.035 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009592/1.162, allocations: 0.8413 MB / 1.035 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.162, allocations: 4 kB / 1.035 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/1.162, allocations: 83.8 kB / 1.035 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.162, allocations: 48 / 1.035 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/1.162, allocations: 11.97 kB / 1.035 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.162, allocations: 4 kB / 1.035 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.162, allocations: 0 / 1.035 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007276/1.163, allocations: 0.5823 MB / 1.036 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009676/1.164, allocations: 1.12 MB / 1.037 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/1.164, allocations: 123.3 kB / 1.037 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/1.164, allocations: 4 kB / 1.037 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/1.164, allocations: 40.02 kB / 1.037 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/1.164, allocations: 27.16 kB / 1.037 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/1.164, allocations: 11.44 kB / 1.037 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002599/1.165, allocations: 261.7 kB / 1.038 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001567/1.166, allocations: 151.1 kB / 1.038 GB, free: 1.484 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.0001606/1.166, allocations: 103.2 kB / 1.038 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006112/1.167, allocations: 402 kB / 1.038 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.167, allocations: 0 / 1.038 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/1.167, allocations: 143 kB / 1.038 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/1.168, allocations: 93.3 kB / 1.038 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/1.169, allocations: 0.616 MB / 1.039 GB, free: 392 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005743/1.17, allocations: 0.8939 MB / 1.04 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of SimCode: time 3.01e-07/1.17, allocations: 0 / 1.04 GB, free: 15.46 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)