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: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.383/1.383, allocations: 289.8 MB / 297.1 MB, free: 6.676 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: 185.3 kB / 366.3 MB, free: 2.016 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.086/1.086, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.000821/0.000821, allocations: 96.2 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2206/0.2214, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.7152, allocations: 116.3 MB / 0.9727 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.8727, allocations: 143.6 MB / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.873, allocations: 99.86 kB / 1.113 GB, free: 4.809 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.02131/0.8943, allocations: 9.171 MB / 1.122 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.8944, allocations: 8.656 kB / 1.122 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.295e-05/0.8944, allocations: 59.34 kB / 1.122 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.8951, allocations: 481.3 kB / 1.123 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.8951, allocations: 8 kB / 1.123 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.8952, allocations: 19.91 kB / 1.123 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004021/0.8956, allocations: 213.3 kB / 1.123 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.896, allocations: 339.5 kB / 1.123 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.8961, allocations: 1.125 kB / 1.123 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.8961, allocations: 4 kB / 1.123 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.8961, allocations: 8 kB / 1.123 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.8978, allocations: 1.498 MB / 1.125 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.8983, allocations: 251 kB / 1.125 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.8984, allocations: 109.2 kB / 1.125 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.8985, allocations: 15.84 kB / 1.125 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.8985, allocations: 30.56 kB / 1.125 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 2.375e-06/0.8985, allocations: 3.984 kB / 1.125 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0004289/0.8989, allocations: 250.2 kB / 1.125 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.899, allocations: 159.7 kB / 1.125 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.8993, allocations: 341.1 kB / 1.126 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.8994, allocations: 25.7 kB / 1.126 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/0.8995, allocations: 188.2 kB / 1.126 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.8995, allocations: 82.81 kB / 1.126 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.8996, allocations: 0 / 1.126 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8997, allocations: 346.8 kB / 1.126 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.8998, allocations: 83.98 kB / 1.126 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.9, allocations: 169.9 kB / 1.127 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.9002, allocations: 97.88 kB / 1.127 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9002, allocations: 7.938 kB / 1.127 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004396/0.9006, allocations: 284.9 kB / 1.127 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.9007, allocations: 11.98 kB / 1.127 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.9007, allocations: 0 / 1.127 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.9007, allocations: 4 kB / 1.127 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.901, allocations: 80.08 kB / 1.127 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.901, allocations: 0.75 kB / 1.127 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.9013, allocations: 47.81 kB / 1.127 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.9013, allocations: 8 kB / 1.127 GB, free: 6.176 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.375e-05/0.9014, allocations: 116.8 kB / 1.127 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.9015, allocations: 44.09 kB / 1.127 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.577e-05/0.9016, allocations: 47.78 kB / 1.127 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.9016, allocations: 4 kB / 1.127 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9016, allocations: 0 / 1.127 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.9016, allocations: 4 kB / 1.127 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.9021, allocations: 429.6 kB / 1.128 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.9021, allocations: 0 / 1.128 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.9024, allocations: 68.84 kB / 1.128 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9024, allocations: 0 / 1.128 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.9024, allocations: 7.984 kB / 1.128 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9025, allocations: 0 / 1.128 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9025, allocations: 0 / 1.128 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005878/0.9031, allocations: 485.2 kB / 1.128 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008486/0.9039, allocations: 0.989 MB / 1.129 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.9041, allocations: 156.4 kB / 1.129 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.9041, allocations: 0 / 1.129 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.9044, allocations: 36.03 kB / 1.129 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.9045, allocations: 12.64 kB / 1.129 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.9045, allocations: 11.98 kB / 1.129 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002431/0.9048, allocations: 263.2 kB / 1.13 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009188/0.9057, allocations: 71.69 kB / 1.13 GB, free: 3.371 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.0001244/0.9058, allocations: 110 kB / 1.13 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.9062, allocations: 220.1 kB / 1.13 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9062, allocations: 0 / 1.13 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.9064, allocations: 114.3 kB / 1.13 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.9069, allocations: 105 kB / 1.13 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.9079, allocations: 0.5041 MB / 1.131 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004273/0.9084, allocations: 0.8651 MB / 1.132 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.9084, allocations: 4 kB / 1.132 GB, free: 1.395 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)