Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [: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/Annex60 1.0.0/package.mo): time 0.267/0.267, allocations: 54.4 MB / 61.68 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001064/0.001064, allocations: 192.2 kB / 75.38 MB, free: 1.484 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.388/1.388, allocations: 194.2 MB / 283.2 MB, free: 3.496 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00179/0.001791, allocations: 110.9 kB / 341.3 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.183e-06/7.223e-06, allocations: 0 / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1272, allocations: 57.65 MB / 462.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7863/0.9136, allocations: 391.3 MB / 0.8338 GB, free: 1.242 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.914, allocations: 98.08 kB / 0.8339 GB, free: 1.191 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$intGai.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$intGai.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$intGai.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$intGai.getTableTimeTmax. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$reference.getTableValueNoDer. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$reference.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$reference.getTableTimeTmax. Notification: Performance of FrontEnd: time 0.3141/1.228, allocations: 35.83 MB / 0.8689 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001213/1.228, allocations: 27.47 kB / 0.8689 GB, free: 140.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002313/1.231, allocations: 1.276 MB / 0.8702 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.231, allocations: 11.31 kB / 0.8702 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/1.231, allocations: 127.8 kB / 0.8703 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/1.234, allocations: 1.419 MB / 0.8717 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/1.234, allocations: 57.34 kB / 0.8718 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/1.234, allocations: 41.56 kB / 0.8718 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006566/1.235, allocations: 316.5 kB / 0.8721 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/1.236, allocations: 408.4 kB / 0.8725 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/1.236, allocations: 7.781 kB / 0.8725 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/1.236, allocations: 0 / 0.8725 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/1.236, allocations: 11.62 kB / 0.8725 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/1.239, allocations: 2.366 MB / 0.8748 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007359/1.239, allocations: 390.7 kB / 0.8752 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/1.24, allocations: 263.2 kB / 0.8754 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/1.24, allocations: 11.56 kB / 0.8755 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/1.24, allocations: 222 kB / 0.8757 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.064e-06/1.24, allocations: 0 / 0.8757 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.001055/1.241, allocations: 0.5343 MB / 0.8762 GB, free: 138 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/1.241, allocations: 57.78 kB / 0.8762 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/1.244, allocations: 1.451 MB / 0.8777 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/1.244, allocations: 29.64 kB / 0.8777 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/1.244, allocations: 295.5 kB / 0.878 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/1.244, allocations: 137 kB / 0.8781 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/1.244, allocations: 3.906 kB / 0.8781 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.244, allocations: 336.5 kB / 0.8784 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/1.244, allocations: 167.3 kB / 0.8786 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/1.245, allocations: 286.9 kB / 0.8789 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/1.245, allocations: 201.8 kB / 0.8791 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.245, allocations: 3.906 kB / 0.8791 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001125/1.246, allocations: 0.7002 MB / 0.8797 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.246, allocations: 7.594 kB / 0.8797 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.246, allocations: 3.781 kB / 0.8798 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004082/1.247, allocations: 130 kB / 0.8799 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/1.247, allocations: 92.38 kB / 0.88 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/1.249, allocations: 2.192 MB / 0.8821 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/1.25, allocations: 73.88 kB / 0.8822 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/1.25, allocations: 26.34 kB / 0.8822 GB, free: 135.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 2 * 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: 1 {(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001327/1.25, allocations: 118.5 kB / 0.8823 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/1.25, allocations: 119.7 kB / 0.8824 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/1.251, allocations: 0.5727 MB / 0.883 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.251, allocations: 7.75 kB / 0.883 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.251, allocations: 3.906 kB / 0.883 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.251, allocations: 3.797 kB / 0.883 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/1.253, allocations: 1.421 MB / 0.8844 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.253, allocations: 0 / 0.8844 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/1.254, allocations: 46.42 kB / 0.8844 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003678/1.254, allocations: 171.3 kB / 0.8846 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/1.254, allocations: 6.969 kB / 0.8846 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/1.256, allocations: 3.466 MB / 0.888 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.256, allocations: 0 / 0.888 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00119/1.258, allocations: 0.8385 MB / 0.8888 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/1.258, allocations: 289.9 kB / 0.8891 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/1.258, allocations: 11.81 kB / 0.8891 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/1.259, allocations: 33.23 kB / 0.8891 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.259, allocations: 46.09 kB / 0.8892 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/1.259, allocations: 18.28 kB / 0.8892 GB, free: 132 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00118/1.26, allocations: 1.13 MB / 0.8903 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008974/1.261, allocations: 257.8 kB / 0.8905 GB, free: 131.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009636/1.262, allocations: 486 kB / 0.891 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001034/1.263, allocations: 0.6253 MB / 0.8916 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.263, allocations: 3.812 kB / 0.8916 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005282/1.263, allocations: 452.9 kB / 0.892 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008206/1.264, allocations: 158.1 kB / 0.8922 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/1.267, allocations: 1.962 MB / 0.8941 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/1.268, allocations: 1.218 MB / 0.8953 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/1.268, allocations: 0 / 0.8953 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.02255/1.291, allocations: 10.42 MB / 0.9055 GB, free: 128.9 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)