Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [: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.367/1.367, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.0009729/0.0009728, allocations: 181.3 kB / 366.3 MB, free: 1.988 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.038/1.038, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0008053/0.0008052, allocations: 94 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.622e-06/6.652e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4412, allocations: 116.3 MB / 0.9726 GB, free: 68.63 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.5906, allocations: 143.7 MB / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.5909, allocations: 96.58 kB / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02025/0.6112, allocations: 8.48 MB / 1.121 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.609e-05/0.6113, allocations: 12 kB / 1.121 GB, free: 12.24 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009119/0.6122, allocations: 0.6771 MB / 1.122 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.6122, allocations: 8.969 kB / 1.122 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.6124, allocations: 59.34 kB / 1.122 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.613, allocations: 477.3 kB / 1.122 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.613, allocations: 8 kB / 1.122 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.6131, allocations: 23.89 kB / 1.122 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004055/0.6135, allocations: 221.2 kB / 1.123 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.614, allocations: 331.5 kB / 1.123 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.614, allocations: 0 / 1.123 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.614, allocations: 7.984 kB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.6141, allocations: 8 kB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.6157, allocations: 1.5 MB / 1.124 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.6162, allocations: 247 kB / 1.125 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.6163, allocations: 109.2 kB / 1.125 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.6164, allocations: 11.86 kB / 1.125 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.6164, allocations: 34.56 kB / 1.125 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/0.6164, allocations: 0 / 1.125 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0004217/0.6168, allocations: 242.7 kB / 1.125 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.6169, allocations: 158.2 kB / 1.125 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.6173, allocations: 341.1 kB / 1.126 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.6173, allocations: 25.7 kB / 1.126 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.6174, allocations: 192.2 kB / 1.126 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.6175, allocations: 78.81 kB / 1.126 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.6175, allocations: 1.781 kB / 1.126 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6176, allocations: 354.7 kB / 1.126 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.6177, allocations: 84.2 kB / 1.126 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.6179, allocations: 169.9 kB / 1.126 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.6181, allocations: 97.94 kB / 1.127 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6181, allocations: 4 kB / 1.127 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004062/0.6185, allocations: 288.9 kB / 1.127 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.6185, allocations: 8 kB / 1.127 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6186, allocations: 2.266 kB / 1.127 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.6186, allocations: 4 kB / 1.127 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.6189, allocations: 76.08 kB / 1.127 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.619, allocations: 7.938 kB / 1.127 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.6192, allocations: 47.81 kB / 1.127 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.6193, allocations: 12 kB / 1.127 GB, free: 6.094 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.136e-05/0.6194, allocations: 116.8 kB / 1.127 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.6194, allocations: 45.22 kB / 1.127 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.6195, allocations: 47.78 kB / 1.127 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6195, allocations: 0 / 1.127 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6195, allocations: 4 kB / 1.127 GB, free: 5.875 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.6196, allocations: 4 kB / 1.127 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.62, allocations: 429.6 kB / 1.128 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.62, allocations: 0 / 1.128 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.6203, allocations: 59.95 kB / 1.128 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6203, allocations: 8.031 kB / 1.128 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.6203, allocations: 8 kB / 1.128 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6203, allocations: 0 / 1.128 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6203, allocations: 0 / 1.128 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005814/0.6209, allocations: 492.6 kB / 1.128 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.6211, allocations: 156.4 kB / 1.128 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.6211, allocations: 4 kB / 1.128 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.6214, allocations: 32.03 kB / 1.128 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.6215, allocations: 11.98 kB / 1.128 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.6215, allocations: 15.98 kB / 1.128 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002342/0.6217, allocations: 263.2 kB / 1.129 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003067/0.6221, allocations: 72.44 kB / 1.129 GB, free: 4.285 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0001213/0.6222, allocations: 103.2 kB / 1.129 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.6225, allocations: 207.9 kB / 1.129 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6226, allocations: 7.938 kB / 1.129 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.6227, allocations: 104.3 kB / 1.129 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.6233, allocations: 105.2 kB / 1.129 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.6243, allocations: 0.5005 MB / 1.13 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/0.6248, allocations: 0.869 MB / 1.13 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.6248, allocations: 0 / 1.13 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of Templates: time 0.007999/0.6328, allocations: 4.537 MB / 1.135 GB, free: 13.91 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)