Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.498/2.498, allocations: 284.8 MB / 292.1 MB, free: 1.465 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001653, allocations: 180.6 kB / 360.3 MB, free: 15.64 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.1 MB / 0.6187 GB, free: 6.664 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002351/0.00235, allocations: 91.52 kB / 0.7317 GB, free: 47.01 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.3229/0.3253, allocations: 121.4 MB / 0.8502 GB, free: 13.66 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/1.001, allocations: 115.2 MB / 0.9627 GB, free: 86.48 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.692/5.693, allocations: 2.073 GB / 3.036 GB, free: 23.05 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/5.694, allocations: 82.47 kB / 3.036 GB, free: 23.01 MB / 0.9405 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.5989/6.293, allocations: 56.64 MB / 3.092 GB, free: 321.8 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/6.293, allocations: 9.062 kB / 3.092 GB, free: 321.8 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/6.296, allocations: 209.1 kB / 3.092 GB, free: 321.7 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/6.298, allocations: 0.5243 MB / 3.092 GB, free: 321.4 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/6.298, allocations: 7.5 kB / 3.092 GB, free: 321.4 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.244e-05/6.298, allocations: 11.58 kB / 3.092 GB, free: 321.4 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000969/6.299, allocations: 282.5 kB / 3.093 GB, free: 321.3 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007513/6.3, allocations: 284.8 kB / 3.093 GB, free: 321.1 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/6.3, allocations: 1.219 kB / 3.093 GB, free: 321.1 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/6.3, allocations: 3.906 kB / 3.093 GB, free: 321.1 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/6.3, allocations: 5.375 kB / 3.093 GB, free: 321.1 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/6.305, allocations: 1.165 MB / 3.094 GB, free: 320.5 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009283/6.306, allocations: 342.2 kB / 3.094 GB, free: 320.4 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/6.306, allocations: 179.5 kB / 3.094 GB, free: 320.3 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 6.18e-05/6.306, allocations: 2.969 kB / 3.094 GB, free: 320.3 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005926/6.307, allocations: 278.4 kB / 3.095 GB, free: 320.1 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=30): time 3.116e-06/6.307, allocations: 1.344 kB / 3.095 GB, free: 320.1 MB / 0.9405 GB Notification: Performance of matching and sorting (n=30): time 0.006795/6.313, allocations: 0.6137 MB / 3.095 GB, free: 319.9 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/6.314, allocations: 84.55 kB / 3.095 GB, free: 319.8 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/6.317, allocations: 1.172 MB / 3.097 GB, free: 319.4 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/6.317, allocations: 27.89 kB / 3.097 GB, free: 319.4 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/6.318, allocations: 194.5 kB / 3.097 GB, free: 319.3 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/6.318, allocations: 98.44 kB / 3.097 GB, free: 319.2 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/6.318, allocations: 1.281 kB / 3.097 GB, free: 319.2 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/6.318, allocations: 315.4 kB / 3.097 GB, free: 318.9 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/6.318, allocations: 142 kB / 3.097 GB, free: 318.8 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/6.319, allocations: 205.2 kB / 3.098 GB, free: 318.7 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/6.319, allocations: 163.3 kB / 3.098 GB, free: 318.7 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/6.319, allocations: 1.875 kB / 3.098 GB, free: 318.7 MB / 0.9405 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.006582/6.326, allocations: 0.6422 MB / 3.098 GB, free: 318.5 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/6.326, allocations: 5.188 kB / 3.098 GB, free: 318.5 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/6.326, allocations: 1.719 kB / 3.098 GB, free: 318.5 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006855/6.327, allocations: 128.2 kB / 3.098 GB, free: 318.4 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007358/6.328, allocations: 73.42 kB / 3.099 GB, free: 318.4 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007899/6.335, allocations: 1.825 MB / 3.1 GB, free: 317.1 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/6.337, allocations: 41.17 kB / 3.1 GB, free: 317.1 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-05/6.337, allocations: 21.7 kB / 3.1 GB, free: 317.1 MB / 0.9405 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.0002137/6.337, allocations: 117.9 kB / 3.1 GB, free: 316.9 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003381/6.338, allocations: 79.22 kB / 3.101 GB, free: 316.9 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007393/6.345, allocations: 0.7607 MB / 3.101 GB, free: 316.7 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/6.345, allocations: 4.125 kB / 3.101 GB, free: 316.7 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/6.345, allocations: 1.719 kB / 3.101 GB, free: 316.7 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/6.345, allocations: 1.781 kB / 3.101 GB, free: 316.7 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/6.347, allocations: 0.6066 MB / 3.102 GB, free: 316.4 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/6.347, allocations: 3.844 kB / 3.102 GB, free: 316.4 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007341/6.348, allocations: 58.36 kB / 3.102 GB, free: 316.4 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006671/6.348, allocations: 128.6 kB / 3.102 GB, free: 316.3 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.832e-05/6.348, allocations: 15.05 kB / 3.102 GB, free: 316.3 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007835/6.356, allocations: 1.824 MB / 3.104 GB, free: 315 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/6.356, allocations: 4.938 kB / 3.104 GB, free: 315 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006681/6.363, allocations: 0.7117 MB / 3.105 GB, free: 314.7 MB / 0.9405 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006891/6.37, allocations: 1.112 MB / 3.106 GB, free: 314 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006039/6.371, allocations: 226.1 kB / 3.106 GB, free: 313.9 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/6.371, allocations: 3.938 kB / 3.106 GB, free: 313.9 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/6.372, allocations: 24.78 kB / 3.106 GB, free: 313.9 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/6.372, allocations: 32.84 kB / 3.106 GB, free: 313.9 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/6.372, allocations: 18.83 kB / 3.106 GB, free: 313.9 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.001833/6.374, allocations: 0.9374 MB / 3.107 GB, free: 313.5 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.002456/6.376, allocations: 263.8 kB / 3.107 GB, free: 313.4 MB / 0.9405 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.001936/6.378, allocations: 0.9196 MB / 3.108 GB, free: 313.1 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.001677/6.38, allocations: 483.6 kB / 3.108 GB, free: 312.9 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/6.38, allocations: 4.062 kB / 3.108 GB, free: 312.9 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.0009678/6.381, allocations: 336.6 kB / 3.109 GB, free: 312.7 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/6.383, allocations: 93.41 kB / 3.109 GB, free: 312.7 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/6.387, allocations: 1.392 MB / 3.11 GB, free: 312.3 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/6.389, allocations: 1.051 MB / 3.111 GB, free: 311.5 MB / 0.9405 GB Notification: Performance of SimCode: time 1.242e-06/6.389, allocations: 0 / 3.111 GB, free: 311.5 MB / 0.9405 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)