Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") [: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.83/0.83, allocations: 141.8 MB / 149.1 MB, free: 3.629 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 189.6 kB / 181.9 MB, free: 15.41 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.3 MB / 436 MB, free: 8.512 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 89.77 kB / 0.507 GB, free: 24.29 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002376/0.002377, allocations: 270 kB / 0.5884 GB, free: 11.58 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.809e-06/9.839e-06, allocations: 0 / 0.6759 GB, free: 1.938 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4583, allocations: 82.76 MB / 0.7567 GB, free: 112.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.602/6.06, allocations: 2.152 GB / 2.909 GB, free: 147.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/6.061, allocations: 95.14 kB / 2.909 GB, free: 147.4 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.1532/6.214, allocations: 70.79 MB / 2.978 GB, free: 85.55 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0002738/6.214, allocations: 35.94 kB / 2.978 GB, free: 85.52 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004048/6.219, allocations: 1.556 MB / 2.979 GB, free: 83.91 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/6.219, allocations: 8.031 kB / 2.979 GB, free: 83.9 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009251/6.22, allocations: 185.7 kB / 2.979 GB, free: 83.71 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004997/6.225, allocations: 1.671 MB / 2.981 GB, free: 81.99 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/6.225, allocations: 74.94 kB / 2.981 GB, free: 81.91 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/6.225, allocations: 43.91 kB / 2.981 GB, free: 81.87 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001173/6.226, allocations: 442.5 kB / 2.982 GB, free: 81.44 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/6.227, allocations: 0.591 MB / 2.982 GB, free: 80.82 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/6.228, allocations: 7.984 kB / 2.982 GB, free: 80.81 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.453e-05/6.228, allocations: 3.938 kB / 2.982 GB, free: 80.8 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/6.228, allocations: 16 kB / 2.982 GB, free: 80.79 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0054/6.233, allocations: 3.332 MB / 2.985 GB, free: 77.24 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/6.234, allocations: 360.6 kB / 2.986 GB, free: 76.88 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/6.234, allocations: 314.3 kB / 2.986 GB, free: 76.57 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/6.234, allocations: 4.5 kB / 2.986 GB, free: 76.56 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004837/6.235, allocations: 318.8 kB / 2.986 GB, free: 76.24 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=65): time 4.067e-06/6.235, allocations: 0 / 2.986 GB, free: 76.24 MB / 0.6982 GB Notification: Performance of matching and sorting (n=65): time 0.001937/6.237, allocations: 0.8197 MB / 2.987 GB, free: 75.41 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/6.237, allocations: 111.5 kB / 2.987 GB, free: 75.27 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/6.24, allocations: 1.871 MB / 2.989 GB, free: 73.39 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 9.952e-05/6.241, allocations: 29.7 kB / 2.989 GB, free: 73.36 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/6.241, allocations: 383.6 kB / 2.99 GB, free: 72.98 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/6.241, allocations: 201 kB / 2.99 GB, free: 72.78 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/6.241, allocations: 0 / 2.99 GB, free: 72.78 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/6.241, allocations: 337.9 kB / 2.99 GB, free: 72.44 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/6.242, allocations: 201.5 kB / 2.99 GB, free: 72.24 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/6.242, allocations: 354 kB / 2.991 GB, free: 71.84 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/6.242, allocations: 243.6 kB / 2.991 GB, free: 71.61 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/6.242, allocations: 4 kB / 2.991 GB, free: 71.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00189/6.244, allocations: 0.9358 MB / 2.992 GB, free: 70.65 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/6.244, allocations: 4 kB / 2.992 GB, free: 70.65 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/6.244, allocations: 8 kB / 2.992 GB, free: 70.64 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007068/6.245, allocations: 243.4 kB / 2.992 GB, free: 70.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/6.246, allocations: 131.8 kB / 2.992 GB, free: 70.27 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003825/6.249, allocations: 3.089 MB / 2.995 GB, free: 67.07 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/6.25, allocations: 103.5 kB / 2.995 GB, free: 66.97 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/6.251, allocations: 24 kB / 2.995 GB, free: 66.95 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * 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 {2 25} Notification: Performance of prepare postOptimizeDAE: time 0.0001934/6.251, allocations: 131.4 kB / 2.995 GB, free: 66.81 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004917/6.251, allocations: 154 kB / 2.996 GB, free: 66.66 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/6.253, allocations: 0.8977 MB / 2.996 GB, free: 65.75 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/6.253, allocations: 4 kB / 2.996 GB, free: 65.74 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/6.253, allocations: 4 kB / 2.996 GB, free: 65.74 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/6.253, allocations: 7.984 kB / 2.996 GB, free: 65.73 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004375/6.258, allocations: 2.136 MB / 2.999 GB, free: 63.54 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/6.258, allocations: 0 / 2.999 GB, free: 63.54 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/6.258, allocations: 71.89 kB / 2.999 GB, free: 63.47 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006823/6.259, allocations: 257.6 kB / 2.999 GB, free: 63.21 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.489e-05/6.259, allocations: 7.984 kB / 2.999 GB, free: 63.21 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004345/6.263, allocations: 4.223 MB / 3.003 GB, free: 58.75 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/6.263, allocations: 0 / 3.003 GB, free: 58.75 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00237/6.265, allocations: 1.254 MB / 3.004 GB, free: 57.47 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009497/6.266, allocations: 374.9 kB / 3.005 GB, free: 57.08 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005002/6.267, allocations: 11.98 kB / 3.005 GB, free: 57.07 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008194/6.268, allocations: 51.86 kB / 3.005 GB, free: 57.02 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/6.268, allocations: 56.56 kB / 3.005 GB, free: 56.96 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/6.268, allocations: 23.92 kB / 3.005 GB, free: 56.94 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.002527/6.271, allocations: 1.467 MB / 3.006 GB, free: 55.48 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001759/6.272, allocations: 355.3 kB / 3.006 GB, free: 55.13 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002033/6.274, allocations: 0.9418 MB / 3.007 GB, free: 54.3 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001695/6.276, allocations: 0.7181 MB / 3.008 GB, free: 53.57 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/6.276, allocations: 0 / 3.008 GB, free: 53.57 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/6.277, allocations: 0.5672 MB / 3.009 GB, free: 52.98 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/6.279, allocations: 217.1 kB / 3.009 GB, free: 52.78 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006227/6.285, allocations: 2.616 MB / 3.011 GB, free: 50.11 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/6.287, allocations: 1.415 MB / 3.013 GB, free: 48.68 MB / 0.6982 GB Notification: Performance of SimCode: time 1.993e-06/6.287, allocations: 3.938 kB / 3.013 GB, free: 48.67 MB / 0.6982 GB Notification: Performance of Templates: time 0.03809/6.325, allocations: 18.48 MB / 3.031 GB, free: 30.3 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)