Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE",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.758/1.758, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001697/0.001697, 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.62/1.62, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0009478/0.0009477, allocations: 84.17 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2816/0.2825, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.9536, allocations: 116.3 MB / 0.9726 GB, free: 68.58 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.195/5.149, allocations: 2.075 GB / 3.047 GB, free: 1.035 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/5.149, allocations: 87.89 kB / 3.047 GB, free: 0.9492 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.7099/5.859, allocations: 56.64 MB / 3.103 GB, free: 332.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/5.859, allocations: 8 kB / 3.103 GB, free: 332.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/5.861, allocations: 206.7 kB / 3.103 GB, free: 332.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/5.862, allocations: 0.526 MB / 3.103 GB, free: 331.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/5.862, allocations: 12 kB / 3.103 GB, free: 331.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/5.862, allocations: 12 kB / 3.103 GB, free: 331.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005219/5.862, allocations: 280.6 kB / 3.104 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/5.863, allocations: 282.6 kB / 3.104 GB, free: 331.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/5.863, allocations: 0 / 3.104 GB, free: 331.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/5.863, allocations: 3.906 kB / 3.104 GB, free: 331.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/5.863, allocations: 8 kB / 3.104 GB, free: 331.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/5.865, allocations: 1.17 MB / 3.105 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/5.866, allocations: 337.5 kB / 3.105 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/5.866, allocations: 177.6 kB / 3.106 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/5.866, allocations: 4 kB / 3.106 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/5.866, allocations: 268.9 kB / 3.106 GB, free: 329.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/5.866, allocations: 0 / 3.106 GB, free: 329.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.003425/5.87, allocations: 0.6224 MB / 3.106 GB, free: 328.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/5.87, allocations: 81.11 kB / 3.106 GB, free: 328.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/5.872, allocations: 1.169 MB / 3.108 GB, free: 327.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/5.872, allocations: 33.7 kB / 3.108 GB, free: 327.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/5.872, allocations: 192.4 kB / 3.108 GB, free: 327 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-05/5.872, allocations: 94.64 kB / 3.108 GB, free: 326.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/5.872, allocations: 0 / 3.108 GB, free: 326.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.551e-05/5.872, allocations: 317.9 kB / 3.108 GB, free: 326.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/5.872, allocations: 143.9 kB / 3.108 GB, free: 326.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/5.873, allocations: 205.7 kB / 3.109 GB, free: 326.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/5.873, allocations: 161.9 kB / 3.109 GB, free: 326.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/5.873, allocations: 0 / 3.109 GB, free: 326.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003252/5.876, allocations: 0.6456 MB / 3.109 GB, free: 325.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/5.876, allocations: 4 kB / 3.109 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/5.876, allocations: 4 kB / 3.109 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/5.877, allocations: 132.7 kB / 3.109 GB, free: 325.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/5.877, allocations: 59.91 kB / 3.11 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004305/5.881, allocations: 1.833 MB / 3.111 GB, free: 323.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007134/5.882, allocations: 43.81 kB / 3.111 GB, free: 323.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/5.882, allocations: 11.98 kB / 3.111 GB, free: 323.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001754/5.882, allocations: 117.4 kB / 3.111 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/5.883, allocations: 86.95 kB / 3.112 GB, free: 323 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/5.886, allocations: 0.7547 MB / 3.112 GB, free: 322.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/5.886, allocations: 4 kB / 3.112 GB, free: 322.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/5.886, allocations: 4 kB / 3.112 GB, free: 322.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/5.886, allocations: 0 / 3.112 GB, free: 322.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008454/5.887, allocations: 0.6171 MB / 3.113 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/5.887, allocations: 4 kB / 3.113 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/5.888, allocations: 55.91 kB / 3.113 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/5.888, allocations: 124.7 kB / 3.113 GB, free: 321.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/5.888, allocations: 11.97 kB / 3.113 GB, free: 321.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/5.892, allocations: 1.837 MB / 3.115 GB, free: 319.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/5.892, allocations: 3.906 kB / 3.115 GB, free: 319.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003221/5.895, allocations: 0.7121 MB / 3.116 GB, free: 318.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003328/5.899, allocations: 1.105 MB / 3.117 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/5.899, allocations: 228 kB / 3.117 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/5.899, allocations: 4 kB / 3.117 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/5.9, allocations: 23.97 kB / 3.117 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/5.9, allocations: 27.88 kB / 3.117 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/5.9, allocations: 15.97 kB / 3.117 GB, free: 317.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001162/5.901, allocations: 0.9403 MB / 3.118 GB, free: 316.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001556/5.903, allocations: 259.8 kB / 3.118 GB, free: 316.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00186/5.904, allocations: 0.9329 MB / 3.119 GB, free: 315.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001024/5.905, allocations: 481.6 kB / 3.119 GB, free: 314.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/5.905, allocations: 0 / 3.119 GB, free: 314.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005597/5.906, allocations: 342 kB / 3.12 GB, free: 314.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/5.907, allocations: 96.95 kB / 3.12 GB, free: 314.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/5.91, allocations: 1.383 MB / 3.121 GB, free: 313 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007451/5.91, allocations: 1.051 MB / 3.122 GB, free: 311.9 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/5.91, allocations: 0 / 3.122 GB, free: 311.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)