Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.002/2.002, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001096/0.001096, allocations: 172.6 kB / 487 MB, free: 5.398 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.317/1.317, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 101 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5123/0.5134, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.7528, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.086/3.839, allocations: 1.731 GB / 2.936 GB, free: 87.4 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/3.839, allocations: 83.95 kB / 2.936 GB, free: 87.32 MB / 1.135 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.1082/3.947, allocations: 55.29 MB / 2.99 GB, free: 31.25 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/3.947, allocations: 9 kB / 2.99 GB, free: 31.25 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/3.949, allocations: 202.7 kB / 2.991 GB, free: 31.05 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009009/3.95, allocations: 0.5269 MB / 2.991 GB, free: 30.48 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/3.95, allocations: 4 kB / 2.991 GB, free: 30.47 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/3.95, allocations: 12 kB / 2.991 GB, free: 30.46 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004767/3.95, allocations: 276.6 kB / 2.991 GB, free: 30.19 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/3.951, allocations: 290.6 kB / 2.992 GB, free: 29.89 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/3.951, allocations: 0 / 2.992 GB, free: 29.89 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/3.951, allocations: 0 / 2.992 GB, free: 29.89 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/3.951, allocations: 4 kB / 2.992 GB, free: 29.89 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/3.953, allocations: 1.183 MB / 2.993 GB, free: 28.66 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/3.953, allocations: 329.6 kB / 2.993 GB, free: 28.32 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/3.954, allocations: 173.7 kB / 2.993 GB, free: 28.14 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/3.954, allocations: 15.92 kB / 2.993 GB, free: 28.12 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/3.954, allocations: 265.3 kB / 2.994 GB, free: 27.85 MB / 1.135 GB Notification: Performance of pre-optimization done (n=30): time 2.424e-06/3.954, allocations: 0 / 2.994 GB, free: 27.85 MB / 1.135 GB Notification: Performance of matching and sorting (n=30): time 0.003277/3.957, allocations: 0.6302 MB / 2.994 GB, free: 27.21 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/3.957, allocations: 81.11 kB / 2.994 GB, free: 27.11 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/3.959, allocations: 1.165 MB / 2.995 GB, free: 25.94 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/3.959, allocations: 25.7 kB / 2.995 GB, free: 25.91 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/3.959, allocations: 196.4 kB / 2.996 GB, free: 25.71 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/3.959, allocations: 86.72 kB / 2.996 GB, free: 25.63 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/3.959, allocations: 0 / 2.996 GB, free: 25.63 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 5.937e-05/3.959, allocations: 325.9 kB / 2.996 GB, free: 25.3 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/3.959, allocations: 143.9 kB / 2.996 GB, free: 25.16 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/3.96, allocations: 193.8 kB / 2.996 GB, free: 24.95 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/3.96, allocations: 168.9 kB / 2.996 GB, free: 24.79 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/3.96, allocations: 4.031 kB / 2.996 GB, free: 24.79 MB / 1.135 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003079/3.963, allocations: 0.6416 MB / 2.997 GB, free: 24.13 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/3.963, allocations: 4 kB / 2.997 GB, free: 24.13 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/3.963, allocations: 0 / 2.997 GB, free: 24.13 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003962/3.964, allocations: 136.7 kB / 2.997 GB, free: 23.99 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/3.964, allocations: 63.89 kB / 2.997 GB, free: 23.93 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004015/3.968, allocations: 1.837 MB / 2.999 GB, free: 21.97 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/3.968, allocations: 35.88 kB / 2.999 GB, free: 21.94 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/3.969, allocations: 19.92 kB / 2.999 GB, free: 21.92 MB / 1.135 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.0001236/3.969, allocations: 112.9 kB / 2.999 GB, free: 21.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/3.969, allocations: 82.97 kB / 2.999 GB, free: 21.72 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/3.972, allocations: 0.7588 MB / 3 GB, free: 20.95 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/3.972, allocations: 4 kB / 3 GB, free: 20.95 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/3.972, allocations: 0 / 3 GB, free: 20.95 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/3.972, allocations: 7.906 kB / 3 GB, free: 20.94 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/3.973, allocations: 0.6017 MB / 3.001 GB, free: 20.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/3.973, allocations: 3.906 kB / 3.001 GB, free: 20.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/3.973, allocations: 63.89 kB / 3.001 GB, free: 20.23 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003118/3.974, allocations: 128.7 kB / 3.001 GB, free: 20.11 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/3.974, allocations: 11.97 kB / 3.001 GB, free: 20.09 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003891/3.978, allocations: 1.837 MB / 3.003 GB, free: 18.14 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/3.978, allocations: 0 / 3.003 GB, free: 18.14 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003186/3.981, allocations: 0.7015 MB / 3.003 GB, free: 17.41 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003251/3.984, allocations: 1.121 MB / 3.004 GB, free: 16.26 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/3.984, allocations: 231.9 kB / 3.005 GB, free: 16.01 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/3.984, allocations: 4 kB / 3.005 GB, free: 16.01 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/3.985, allocations: 23.97 kB / 3.005 GB, free: 15.98 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/3.985, allocations: 19.97 kB / 3.005 GB, free: 15.96 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/3.985, allocations: 27.92 kB / 3.005 GB, free: 15.94 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0008459/3.986, allocations: 0.9325 MB / 3.006 GB, free: 15.01 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001316/3.987, allocations: 267.8 kB / 3.006 GB, free: 14.75 MB / 1.135 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.00119/3.988, allocations: 0.9046 MB / 3.007 GB, free: 13.93 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0007709/3.989, allocations: 490.5 kB / 3.007 GB, free: 13.44 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/3.989, allocations: 0 / 3.007 GB, free: 13.44 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0004637/3.99, allocations: 333.5 kB / 3.008 GB, free: 13.1 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/3.99, allocations: 107.2 kB / 3.008 GB, free: 13 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/3.992, allocations: 1.391 MB / 3.009 GB, free: 11.58 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/3.993, allocations: 1.051 MB / 3.01 GB, free: 10.5 MB / 1.135 GB Notification: Performance of SimCode: time 7.31e-07/3.993, allocations: 0 / 3.01 GB, free: 10.5 MB / 1.135 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)