Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.9141/0.9141, allocations: 141.8 MB / 149.1 MB, free: 2.664 MB / 114.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 177.2 kB / 181.9 MB, free: 3.645 MB / 146.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.4 MB / 436 MB, free: 3.805 MB / 339 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 96.7 kB / 0.507 GB, free: 1.926 MB / 387 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001809/0.001809, allocations: 272.6 kB / 0.5884 GB, free: 14.51 MB / 483 MB Notification: Performance of FrontEnd - loaded program: time 9.207e-06/9.227e-06, allocations: 4 kB / 0.6759 GB, free: 138.6 MB / 499 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1766, allocations: 82.77 MB / 0.7567 GB, free: 56.15 MB / 499 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.327/5.504, allocations: 2.15 GB / 2.907 GB, free: 44.43 MB / 0.6904 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/5.505, allocations: 96.45 kB / 2.907 GB, free: 44.34 MB / 0.6904 GB Notification: Performance of FrontEnd: time 0.7385/6.243, allocations: 79.91 MB / 2.985 GB, free: 220.3 MB / 0.6904 GB Notification: Performance of Transformations before backend: time 0.0002463/6.243, allocations: 49.88 kB / 2.985 GB, free: 220.3 MB / 0.6904 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.006899/6.25, allocations: 2.299 MB / 2.988 GB, free: 219.1 MB / 0.6904 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/6.25, allocations: 9.344 kB / 2.988 GB, free: 219.1 MB / 0.6904 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/6.252, allocations: 311.7 kB / 2.988 GB, free: 218.9 MB / 0.6904 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007773/6.26, allocations: 2.423 MB / 2.99 GB, free: 218.4 MB / 0.6904 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/6.26, allocations: 84.47 kB / 2.99 GB, free: 218.3 MB / 0.6904 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/6.26, allocations: 51.84 kB / 2.99 GB, free: 218.3 MB / 0.6904 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00172/6.262, allocations: 0.7056 MB / 2.991 GB, free: 218.3 MB / 0.6904 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/6.263, allocations: 0.7923 MB / 2.992 GB, free: 218.1 MB / 0.6904 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/6.263, allocations: 1.219 kB / 2.992 GB, free: 218.1 MB / 0.6904 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/6.263, allocations: 10.48 kB / 2.992 GB, free: 218.1 MB / 0.6904 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/6.264, allocations: 27.81 kB / 2.992 GB, free: 218.1 MB / 0.6904 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009748/6.273, allocations: 4.391 MB / 2.996 GB, free: 215.5 MB / 0.6904 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/6.275, allocations: 0.5337 MB / 2.997 GB, free: 215.3 MB / 0.6904 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008762/6.275, allocations: 480.1 kB / 2.997 GB, free: 215.1 MB / 0.6904 GB Notification: Performance of preOpt evalFunc (simulation): time 5.453e-05/6.275, allocations: 17.05 kB / 2.997 GB, free: 215.1 MB / 0.6904 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009014/6.276, allocations: 482.5 kB / 2.998 GB, free: 214.9 MB / 0.6904 GB Notification: Performance of pre-optimization done (n=94): time 3.607e-06/6.276, allocations: 0 / 2.998 GB, free: 214.9 MB / 0.6904 GB Notification: Performance of matching and sorting (n=94): time 0.003747/6.28, allocations: 1.269 MB / 2.999 GB, free: 214.5 MB / 0.6904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/6.28, allocations: 66.66 kB / 2.999 GB, free: 214.4 MB / 0.6904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009352/6.29, allocations: 3.747 MB / 3.003 GB, free: 213.2 MB / 0.6904 GB Notification: Performance of collectPreVariables (initialization): time 0.0003625/6.29, allocations: 34.2 kB / 3.003 GB, free: 213.1 MB / 0.6904 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/6.291, allocations: 0.5413 MB / 3.003 GB, free: 212.8 MB / 0.6904 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/6.291, allocations: 283.7 kB / 3.003 GB, free: 212.6 MB / 0.6904 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/6.291, allocations: 0 / 3.003 GB, free: 212.6 MB / 0.6904 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/6.291, allocations: 346.6 kB / 3.004 GB, free: 212.3 MB / 0.6904 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006258/6.292, allocations: 338.7 kB / 3.004 GB, free: 212.1 MB / 0.6904 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/6.292, allocations: 0.4883 MB / 3.005 GB, free: 211.8 MB / 0.6904 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/6.293, allocations: 400.5 kB / 3.005 GB, free: 211.7 MB / 0.6904 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/6.293, allocations: 0 / 3.005 GB, free: 211.7 MB / 0.6904 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003127/6.296, allocations: 1.394 MB / 3.006 GB, free: 211.2 MB / 0.6904 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/6.296, allocations: 3.875 kB / 3.006 GB, free: 211.2 MB / 0.6904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/6.296, allocations: 11.31 kB / 3.006 GB, free: 211.2 MB / 0.6904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009213/6.297, allocations: 329.3 kB / 3.007 GB, free: 211.1 MB / 0.6904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/6.298, allocations: 177 kB / 3.007 GB, free: 211.1 MB / 0.6904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/6.302, allocations: 4.674 MB / 3.011 GB, free: 207.6 MB / 0.6904 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/6.304, allocations: 120.1 kB / 3.011 GB, free: 207.6 MB / 0.6904 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/6.305, allocations: 38.89 kB / 3.011 GB, free: 207.6 MB / 0.6904 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000277/6.305, allocations: 141 kB / 3.012 GB, free: 207.4 MB / 0.6904 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005058/6.305, allocations: 268.8 kB / 3.012 GB, free: 207.3 MB / 0.6904 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003228/6.309, allocations: 1.433 MB / 3.013 GB, free: 206.8 MB / 0.6904 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/6.309, allocations: 10.25 kB / 3.013 GB, free: 206.8 MB / 0.6904 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/6.309, allocations: 8.562 kB / 3.013 GB, free: 206.8 MB / 0.6904 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/6.309, allocations: 8.188 kB / 3.013 GB, free: 206.8 MB / 0.6904 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008155/6.317, allocations: 3.487 MB / 3.017 GB, free: 205.6 MB / 0.6904 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/6.317, allocations: 3.938 kB / 3.017 GB, free: 205.6 MB / 0.6904 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/6.318, allocations: 107.5 kB / 3.017 GB, free: 205.5 MB / 0.6904 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/6.319, allocations: 340 kB / 3.017 GB, free: 205.4 MB / 0.6904 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/6.319, allocations: 14.23 kB / 3.017 GB, free: 205.4 MB / 0.6904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006199/6.325, allocations: 4.694 MB / 3.022 GB, free: 201.9 MB / 0.6904 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/6.325, allocations: 0.6875 kB / 3.022 GB, free: 201.9 MB / 0.6904 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005992/6.331, allocations: 1.963 MB / 3.024 GB, free: 201.1 MB / 0.6904 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002325/6.333, allocations: 0.6364 MB / 3.024 GB, free: 200.5 MB / 0.6904 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000941/6.334, allocations: 10.02 kB / 3.024 GB, free: 200.5 MB / 0.6904 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/6.336, allocations: 58.53 kB / 3.024 GB, free: 200.5 MB / 0.6904 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/6.336, allocations: 79.03 kB / 3.024 GB, free: 200.4 MB / 0.6904 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.307e-05/6.336, allocations: 31.94 kB / 3.024 GB, free: 200.4 MB / 0.6904 GB Notification: Performance of sort global known variables: time 0.004645/6.341, allocations: 2.958 MB / 3.027 GB, free: 197.6 MB / 0.6904 GB Notification: Performance of remove unused functions: time 0.002668/6.343, allocations: 0.511 MB / 3.028 GB, free: 197 MB / 0.6904 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00209/6.345, allocations: 0.9633 MB / 3.029 GB, free: 196.3 MB / 0.6904 GB Notification: Performance of simCode: created initialization part: time 0.00241/6.348, allocations: 1.135 MB / 3.03 GB, free: 195.1 MB / 0.6904 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/6.348, allocations: 0 / 3.03 GB, free: 195.1 MB / 0.6904 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/6.349, allocations: 0.7328 MB / 3.031 GB, free: 194.4 MB / 0.6904 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/6.353, allocations: 293.2 kB / 3.031 GB, free: 194.1 MB / 0.6904 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/6.363, allocations: 4.752 MB / 3.035 GB, free: 189.3 MB / 0.6904 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003482/6.367, allocations: 1.98 MB / 3.037 GB, free: 187.3 MB / 0.6904 GB Notification: Performance of SimCode: time 2.024e-06/6.367, allocations: 0 / 3.037 GB, free: 187.3 MB / 0.6904 GB Notification: Performance of Templates: time 0.05396/6.421, allocations: 24.18 MB / 3.061 GB, free: 163.3 MB / 0.6904 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1)