Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.853/1.853, allocations: 390.4 MB / 397.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009697/0.0009697, allocations: 180.4 kB / 490.8 MB, free: 1.961 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009184/0.0009184, allocations: 88.69 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.447/0.4479, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.6414, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.591/3.233, allocations: 1.732 GB / 2.943 GB, free: 131.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/3.233, allocations: 79.95 kB / 2.943 GB, free: 131.2 MB / 1.151 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.09941/3.333, allocations: 55.3 MB / 2.997 GB, free: 75.15 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/3.333, allocations: 8 kB / 2.998 GB, free: 75.14 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/3.334, allocations: 202.7 kB / 2.998 GB, free: 74.94 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007558/3.335, allocations: 0.523 MB / 2.998 GB, free: 74.38 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/3.335, allocations: 8 kB / 2.998 GB, free: 74.37 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/3.335, allocations: 8 kB / 2.998 GB, free: 74.36 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004358/3.335, allocations: 284.6 kB / 2.998 GB, free: 74.08 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/3.336, allocations: 278.6 kB / 2.999 GB, free: 73.79 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/3.336, allocations: 0 / 2.999 GB, free: 73.79 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/3.336, allocations: 4 kB / 2.999 GB, free: 73.79 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/3.336, allocations: 4 kB / 2.999 GB, free: 73.79 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/3.338, allocations: 1.182 MB / 3 GB, free: 72.56 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/3.338, allocations: 329.6 kB / 3 GB, free: 72.22 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/3.338, allocations: 173.7 kB / 3 GB, free: 72.04 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/3.338, allocations: 15.91 kB / 3 GB, free: 72.03 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/3.339, allocations: 266.1 kB / 3.001 GB, free: 71.75 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/3.339, allocations: 4 kB / 3.001 GB, free: 71.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.003104/3.342, allocations: 0.6273 MB / 3.001 GB, free: 71.11 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/3.342, allocations: 81.11 kB / 3.001 GB, free: 71.01 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/3.343, allocations: 1.165 MB / 3.003 GB, free: 69.84 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/3.343, allocations: 33.7 kB / 3.003 GB, free: 69.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/3.343, allocations: 192.4 kB / 3.003 GB, free: 69.61 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/3.343, allocations: 94.7 kB / 3.003 GB, free: 69.52 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/3.343, allocations: 0 / 3.003 GB, free: 69.52 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.66e-05/3.344, allocations: 321.9 kB / 3.003 GB, free: 69.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/3.344, allocations: 136 kB / 3.003 GB, free: 69.07 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/3.344, allocations: 193.9 kB / 3.003 GB, free: 68.86 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/3.344, allocations: 173.1 kB / 3.004 GB, free: 68.69 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/3.344, allocations: 4 kB / 3.004 GB, free: 68.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00295/3.347, allocations: 0.6376 MB / 3.004 GB, free: 68.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/3.347, allocations: 4 kB / 3.004 GB, free: 68.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/3.347, allocations: 3.938 kB / 3.004 GB, free: 68.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/3.348, allocations: 132.8 kB / 3.004 GB, free: 67.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/3.348, allocations: 55.91 kB / 3.004 GB, free: 67.84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/3.352, allocations: 1.845 MB / 3.006 GB, free: 65.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/3.352, allocations: 39.91 kB / 3.006 GB, free: 65.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/3.352, allocations: 19.92 kB / 3.006 GB, free: 65.82 MB / 1.151 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 9.57e-05/3.352, allocations: 110 kB / 3.006 GB, free: 65.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/3.352, allocations: 82.88 kB / 3.006 GB, free: 65.62 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003295/3.356, allocations: 0.7666 MB / 3.007 GB, free: 64.84 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/3.356, allocations: 4 kB / 3.007 GB, free: 64.84 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/3.356, allocations: 0 / 3.007 GB, free: 64.84 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/3.356, allocations: 3.984 kB / 3.007 GB, free: 64.84 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/3.356, allocations: 0.6095 MB / 3.008 GB, free: 64.19 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/3.356, allocations: 0 / 3.008 GB, free: 64.19 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/3.357, allocations: 59.91 kB / 3.008 GB, free: 64.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003035/3.357, allocations: 132.6 kB / 3.008 GB, free: 64 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/3.357, allocations: 7.984 kB / 3.008 GB, free: 63.99 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003704/3.361, allocations: 1.834 MB / 3.01 GB, free: 62.04 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/3.361, allocations: 4.031 kB / 3.01 GB, free: 62.04 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003035/3.364, allocations: 0.7007 MB / 3.01 GB, free: 61.31 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003141/3.367, allocations: 1.116 MB / 3.012 GB, free: 60.16 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/3.367, allocations: 227.9 kB / 3.012 GB, free: 59.91 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/3.367, allocations: 8 kB / 3.012 GB, free: 59.91 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/3.368, allocations: 27.97 kB / 3.012 GB, free: 59.88 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/3.368, allocations: 27.91 kB / 3.012 GB, free: 59.85 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/3.368, allocations: 15.97 kB / 3.012 GB, free: 59.84 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007986/3.369, allocations: 0.9364 MB / 3.013 GB, free: 58.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001218/3.37, allocations: 259.8 kB / 3.013 GB, free: 58.65 MB / 1.151 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.001059/3.371, allocations: 0.9082 MB / 3.014 GB, free: 57.82 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007384/3.372, allocations: 0.4906 MB / 3.014 GB, free: 57.32 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/3.372, allocations: 0 / 3.014 GB, free: 57.32 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004221/3.372, allocations: 325.9 kB / 3.015 GB, free: 57 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/3.373, allocations: 114.5 kB / 3.015 GB, free: 56.89 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/3.374, allocations: 1.38 MB / 3.016 GB, free: 55.48 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005112/3.375, allocations: 1.054 MB / 3.017 GB, free: 54.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.81e-07/3.375, allocations: 0 / 3.017 GB, free: 54.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)