Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.42/1.42, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001041/0.001041, allocations: 187.5 kB / 361.1 MB, free: 7.094 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.279/1.279, allocations: 205.1 MB / 0.6195 GB, free: 11.92 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.000834/0.000834, allocations: 88.84 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2208/0.2217, allocations: 121.4 MB / 0.8511 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.7431, allocations: 115.3 MB / 0.9637 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.261/4.004, allocations: 2.074 GB / 3.037 GB, free: 64.63 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/4.004, allocations: 84.7 kB / 3.037 GB, free: 64.55 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.1052/4.109, allocations: 56.65 MB / 3.093 GB, free: 7.445 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/4.109, allocations: 12.5 kB / 3.093 GB, free: 7.434 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/4.111, allocations: 202.7 kB / 3.093 GB, free: 7.234 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009508/4.112, allocations: 0.5229 MB / 3.093 GB, free: 6.672 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/4.112, allocations: 8 kB / 3.093 GB, free: 6.664 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/4.112, allocations: 12 kB / 3.093 GB, free: 6.652 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005009/4.113, allocations: 280.6 kB / 3.094 GB, free: 6.379 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/4.113, allocations: 282.6 kB / 3.094 GB, free: 6.086 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/4.113, allocations: 0 / 3.094 GB, free: 6.086 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/4.113, allocations: 7.906 kB / 3.094 GB, free: 6.078 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/4.113, allocations: 8 kB / 3.094 GB, free: 6.07 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/4.115, allocations: 1.176 MB / 3.095 GB, free: 4.855 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/4.116, allocations: 341.5 kB / 3.096 GB, free: 4.504 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/4.116, allocations: 177.6 kB / 3.096 GB, free: 4.324 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/4.116, allocations: 11.92 kB / 3.096 GB, free: 4.312 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/4.117, allocations: 264.9 kB / 3.096 GB, free: 4.035 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.903e-06/4.117, allocations: 4 kB / 3.096 GB, free: 4.031 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.003211/4.12, allocations: 0.622 MB / 3.097 GB, free: 3.398 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/4.12, allocations: 81.11 kB / 3.097 GB, free: 3.301 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/4.121, allocations: 1.169 MB / 3.098 GB, free: 2.125 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/4.121, allocations: 29.7 kB / 3.098 GB, free: 2.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/4.121, allocations: 196.3 kB / 3.098 GB, free: 1.895 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/4.122, allocations: 90.66 kB / 3.098 GB, free: 1.805 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/4.122, allocations: 0 / 3.098 GB, free: 1.805 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.726e-05/4.122, allocations: 318 kB / 3.098 GB, free: 1.488 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/4.122, allocations: 143.9 kB / 3.099 GB, free: 1.348 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/4.122, allocations: 194 kB / 3.099 GB, free: 1.137 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/4.122, allocations: 171.8 kB / 3.099 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/4.122, allocations: 0 / 3.099 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003052/4.125, allocations: 0.6357 MB / 3.099 GB, free: 332 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/4.125, allocations: 8 kB / 3.099 GB, free: 324 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/4.125, allocations: 0 / 3.099 GB, free: 324 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/4.126, allocations: 128.7 kB / 3.1 GB, free: 192 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/4.126, allocations: 63.89 kB / 3.1 GB, free: 128 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3169/4.443, allocations: 1.836 MB / 3.101 GB, free: 403.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/4.444, allocations: 33.34 kB / 3.102 GB, free: 403.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/4.444, allocations: 19.38 kB / 3.102 GB, free: 403.8 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.0001384/4.444, allocations: 127 kB / 3.102 GB, free: 403.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/4.444, allocations: 77.06 kB / 3.102 GB, free: 403.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/4.448, allocations: 0.7621 MB / 3.102 GB, free: 403.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/4.448, allocations: 3.969 kB / 3.102 GB, free: 403.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/4.448, allocations: 7.719 kB / 3.102 GB, free: 403.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/4.448, allocations: 0 / 3.102 GB, free: 403.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/4.448, allocations: 0.6004 MB / 3.103 GB, free: 403.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/4.448, allocations: 0 / 3.103 GB, free: 403.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/4.449, allocations: 55.67 kB / 3.103 GB, free: 403.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/4.449, allocations: 133.6 kB / 3.103 GB, free: 403.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/4.449, allocations: 12.53 kB / 3.103 GB, free: 403.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00385/4.453, allocations: 1.839 MB / 3.105 GB, free: 402.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/4.453, allocations: 0 / 3.105 GB, free: 402.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003174/4.456, allocations: 0.699 MB / 3.106 GB, free: 402.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003195/4.459, allocations: 1.119 MB / 3.107 GB, free: 401.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/4.46, allocations: 224.1 kB / 3.107 GB, free: 401.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/4.46, allocations: 3.781 kB / 3.107 GB, free: 401.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/4.46, allocations: 23.92 kB / 3.107 GB, free: 401.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/4.46, allocations: 25.73 kB / 3.107 GB, free: 401.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/4.46, allocations: 17.22 kB / 3.107 GB, free: 401.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008505/4.461, allocations: 0.934 MB / 3.108 GB, free: 401.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001261/4.463, allocations: 267.6 kB / 3.108 GB, free: 401.4 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.001249/4.464, allocations: 0.9258 MB / 3.109 GB, free: 401.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007891/4.465, allocations: 486.5 kB / 3.11 GB, free: 401.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/4.465, allocations: 3.562 kB / 3.11 GB, free: 401.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004422/4.465, allocations: 326.8 kB / 3.11 GB, free: 401 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/4.466, allocations: 103.4 kB / 3.11 GB, free: 401 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/4.468, allocations: 1.393 MB / 3.111 GB, free: 400.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/4.468, allocations: 1.045 MB / 3.112 GB, free: 400.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.91e-07/4.468, allocations: 3.719 kB / 3.112 GB, free: 400.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)