Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.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.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") [: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.8013/0.8013, allocations: 141.8 MB / 149.1 MB, free: 4.344 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.001255/0.001256, allocations: 180.7 kB / 181.9 MB, free: 20 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.77/1.77, allocations: 221.4 MB / 436 MB, free: 9.18 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.001182/0.001182, allocations: 96.48 kB / 0.507 GB, free: 24.28 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001927/0.001927, allocations: 270.5 kB / 0.5884 GB, free: 12.21 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.022e-05/1.025e-05, allocations: 3.938 kB / 0.6759 GB, free: 2.578 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5155, allocations: 82.76 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.34/4.856, allocations: 2.154 GB / 2.911 GB, free: 188.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/4.856, allocations: 92.42 kB / 2.911 GB, free: 188.1 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.985/6.841, allocations: 0.6388 GB / 3.55 GB, free: 77.46 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0004303/6.842, allocations: 67.64 kB / 3.55 GB, free: 77.4 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.00727/6.849, allocations: 2.642 MB / 3.553 GB, free: 74.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/6.849, allocations: 16.03 kB / 3.553 GB, free: 74.69 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/6.852, allocations: 467.6 kB / 3.553 GB, free: 74.23 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007448/6.859, allocations: 2.677 MB / 3.556 GB, free: 71.57 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/6.86, allocations: 100.2 kB / 3.556 GB, free: 71.47 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/6.86, allocations: 76 kB / 3.556 GB, free: 71.39 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002563/6.863, allocations: 1.071 MB / 3.557 GB, free: 70.32 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/6.865, allocations: 1.245 MB / 3.558 GB, free: 69.03 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/6.865, allocations: 0 / 3.558 GB, free: 69.03 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/6.866, allocations: 7.984 kB / 3.558 GB, free: 69.02 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/6.866, allocations: 46.38 kB / 3.558 GB, free: 68.98 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009841/6.876, allocations: 6.322 MB / 3.564 GB, free: 62.32 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/6.877, allocations: 0.6439 MB / 3.565 GB, free: 61.68 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007866/6.877, allocations: 0.5903 MB / 3.566 GB, free: 61.09 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004398/6.878, allocations: 296.3 kB / 3.566 GB, free: 60.74 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008034/6.879, allocations: 0.5739 MB / 3.566 GB, free: 60.16 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=112): time 4.218e-06/6.879, allocations: 0 / 3.566 GB, free: 60.16 MB / 0.6982 GB Notification: Performance of matching and sorting (n=112): time 0.003226/6.882, allocations: 1.383 MB / 3.568 GB, free: 58.77 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/6.882, allocations: 68.41 kB / 3.568 GB, free: 58.69 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005029/6.887, allocations: 3.366 MB / 3.571 GB, free: 55.31 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/6.887, allocations: 33.7 kB / 3.571 GB, free: 55.27 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005054/6.888, allocations: 0.6573 MB / 3.572 GB, free: 54.6 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/6.888, allocations: 354.8 kB / 3.572 GB, free: 54.25 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/6.888, allocations: 3.938 kB / 3.572 GB, free: 54.25 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001033/6.888, allocations: 357.9 kB / 3.573 GB, free: 53.89 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/6.889, allocations: 414.5 kB / 3.573 GB, free: 53.49 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006936/6.89, allocations: 0.6771 MB / 3.574 GB, free: 52.7 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009792/6.891, allocations: 0.5516 MB / 3.574 GB, free: 52.15 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/6.891, allocations: 0 / 3.574 GB, free: 52.15 MB / 0.6982 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002751/6.893, allocations: 1.578 MB / 3.576 GB, free: 50.57 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/6.893, allocations: 4 kB / 3.576 GB, free: 50.56 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/6.893, allocations: 7.984 kB / 3.576 GB, free: 50.55 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/6.894, allocations: 227.5 kB / 3.576 GB, free: 50.33 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009442/6.895, allocations: 247.7 kB / 3.576 GB, free: 50.09 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/6.899, allocations: 3.981 MB / 3.58 GB, free: 45.88 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/6.9, allocations: 167.1 kB / 3.58 GB, free: 45.71 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/6.9, allocations: 51.98 kB / 3.58 GB, free: 45.66 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * 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 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002638/6.901, allocations: 144.7 kB / 3.58 GB, free: 45.52 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000391/6.901, allocations: 272.5 kB / 3.581 GB, free: 45.25 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/6.904, allocations: 1.499 MB / 3.582 GB, free: 43.73 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/6.904, allocations: 12 kB / 3.582 GB, free: 43.72 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/6.904, allocations: 4 kB / 3.582 GB, free: 43.72 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001836/6.906, allocations: 1.28 MB / 3.583 GB, free: 42.39 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006539/6.913, allocations: 3.821 MB / 3.587 GB, free: 38.52 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/6.913, allocations: 4 kB / 3.587 GB, free: 38.52 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/6.913, allocations: 175.9 kB / 3.587 GB, free: 38.35 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/6.914, allocations: 213.5 kB / 3.587 GB, free: 38.13 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/6.914, allocations: 19.98 kB / 3.587 GB, free: 38.11 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003724/6.918, allocations: 3.963 MB / 3.591 GB, free: 33.92 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/6.918, allocations: 4.062 kB / 3.591 GB, free: 33.91 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005178/6.923, allocations: 2.29 MB / 3.594 GB, free: 31.55 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002263/6.925, allocations: 0.6339 MB / 3.594 GB, free: 30.89 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008901/6.926, allocations: 12 kB / 3.594 GB, free: 30.88 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/6.928, allocations: 91.81 kB / 3.594 GB, free: 30.79 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/6.928, allocations: 85 kB / 3.594 GB, free: 30.71 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/6.928, allocations: 51.89 kB / 3.594 GB, free: 30.66 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.005128/6.934, allocations: 2.634 MB / 3.597 GB, free: 28.02 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003606/6.937, allocations: 0.7135 MB / 3.598 GB, free: 27.31 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 86 * 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%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003521/6.941, allocations: 1.794 MB / 3.599 GB, free: 25.77 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002662/6.943, allocations: 1.307 MB / 3.601 GB, free: 24.45 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/6.943, allocations: 4.562 kB / 3.601 GB, free: 24.44 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/6.945, allocations: 0.8127 MB / 3.602 GB, free: 23.61 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/6.949, allocations: 0.4975 MB / 3.602 GB, free: 23.12 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/6.961, allocations: 4.972 MB / 3.607 GB, free: 18.09 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003514/6.964, allocations: 2.108 MB / 3.609 GB, free: 15.95 MB / 0.6982 GB Notification: Performance of SimCode: time 2.164e-06/6.964, allocations: 4 kB / 3.609 GB, free: 15.95 MB / 0.6982 GB Notification: Performance of Templates: time 0.4642/7.428, allocations: 34.4 MB / 3.643 GB, free: 167 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1)