Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.conf.json 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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-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) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33: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/Complex 4.0.0+maint.om/package.mo): time 0.000912/0.000912, allocations: 180.8 kB / 8.133 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.008/1.008, allocations: 221.4 MB / 229.9 MB, free: 3.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008236/0.0008236, allocations: 103.4 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5561/0.5561, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2812/0.8374, allocations: 89.71 MB / 0.529 GB, free: 51.74 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09686/0.9342, allocations: 82.86 MB / 0.6099 GB, free: 2.746 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3949/1.329, allocations: 124.8 MB / 0.7318 GB, free: 4.141 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001001/1.329, allocations: 45.09 kB / 0.7318 GB, free: 4.125 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.03574/1.365, allocations: 12 MB / 0.7436 GB, free: 9.258 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/1.365, allocations: 12 kB / 0.7436 GB, free: 9.246 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/1.365, allocations: 63.44 kB / 0.7436 GB, free: 9.184 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009393/1.366, allocations: 415.5 kB / 0.744 GB, free: 8.738 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.366, allocations: 16 kB / 0.744 GB, free: 8.723 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/1.366, allocations: 82.58 kB / 0.7441 GB, free: 8.648 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009888/1.367, allocations: 0.7448 MB / 0.7448 GB, free: 8.094 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/1.368, allocations: 0.8221 MB / 0.7456 GB, free: 7.43 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/1.368, allocations: 0 / 0.7456 GB, free: 7.43 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.417e-05/1.369, allocations: 0 / 0.7456 GB, free: 7.43 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/1.369, allocations: 12 kB / 0.7457 GB, free: 7.418 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004833/1.373, allocations: 4.189 MB / 0.7497 GB, free: 2.965 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/1.375, allocations: 0.868 MB / 0.7506 GB, free: 2.305 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/1.375, allocations: 0.6406 MB / 0.7512 GB, free: 1.879 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 8.423e-05/1.375, allocations: 9 kB / 0.7512 GB, free: 1.871 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/1.375, allocations: 45.78 kB / 0.7513 GB, free: 1.824 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=99): time 1.704e-06/1.375, allocations: 0 / 0.7513 GB, free: 1.824 MB / 0.5109 GB Notification: Performance of matching and sorting (n=99): time 0.001603/1.377, allocations: 1.139 MB / 0.7524 GB, free: 0.9219 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/1.377, allocations: 63.84 kB / 0.7524 GB, free: 0.8516 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/1.377, allocations: 131.8 kB / 0.7526 GB, free: 0.7305 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/1.377, allocations: 25.7 kB / 0.7526 GB, free: 0.6992 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/1.377, allocations: 141.1 kB / 0.7527 GB, free: 0.5625 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/1.377, allocations: 402.4 kB / 0.7531 GB, free: 220 kB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/1.378, allocations: 0 / 0.7531 GB, free: 220 kB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.378, allocations: 365.7 kB / 0.7535 GB, free: 15.87 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007033/1.378, allocations: 0.5543 MB / 0.754 GB, free: 15.47 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/1.379, allocations: 0.635 MB / 0.7546 GB, free: 15 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/1.38, allocations: 0.6548 MB / 0.7553 GB, free: 14.51 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.38, allocations: 0 / 0.7553 GB, free: 14.51 MB / 0.5265 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00184/1.382, allocations: 1.411 MB / 0.7566 GB, free: 13.39 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/1.382, allocations: 4 kB / 0.7566 GB, free: 13.39 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.382, allocations: 0 / 0.7566 GB, free: 13.39 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.382, allocations: 11.91 kB / 0.7567 GB, free: 13.38 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/1.384, allocations: 0.5171 MB / 0.7572 GB, free: 12.87 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.384, allocations: 8 kB / 0.7572 GB, free: 12.86 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/1.385, allocations: 87.03 kB / 0.7573 GB, free: 12.77 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.403e-05/1.385, allocations: 34.75 kB / 0.7573 GB, free: 12.75 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 157 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001737/1.385, allocations: 120.7 kB / 0.7574 GB, free: 12.62 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/1.385, allocations: 43.47 kB / 0.7574 GB, free: 12.58 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/1.385, allocations: 137.6 kB / 0.7576 GB, free: 12.57 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/1.385, allocations: 15.98 kB / 0.7576 GB, free: 12.56 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.385, allocations: 0 / 0.7576 GB, free: 12.56 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/1.385, allocations: 5.172 kB / 0.7576 GB, free: 12.55 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008506/1.386, allocations: 0.7414 MB / 0.7583 GB, free: 11.88 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.386, allocations: 0 / 0.7583 GB, free: 11.88 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/1.389, allocations: 0.5137 MB / 0.7588 GB, free: 11.38 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/1.389, allocations: 0 / 0.7588 GB, free: 11.38 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/1.389, allocations: 39.58 kB / 0.7589 GB, free: 11.34 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/1.389, allocations: 4 kB / 0.7589 GB, free: 11.34 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.389, allocations: 4 kB / 0.7589 GB, free: 11.34 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00225/1.391, allocations: 1.922 MB / 0.7607 GB, free: 9.863 MB / 0.5265 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00313/1.395, allocations: 3.059 MB / 0.7637 GB, free: 7.492 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/1.395, allocations: 128.4 kB / 0.7639 GB, free: 7.348 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/1.395, allocations: 23.97 kB / 0.7639 GB, free: 7.324 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007174/1.396, allocations: 47.66 kB / 0.7639 GB, free: 7.277 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.396, allocations: 49.61 kB / 0.764 GB, free: 7.238 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.371e-05/1.396, allocations: 27.3 kB / 0.764 GB, free: 7.215 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.755e-05/1.396, allocations: 93.72 kB / 0.7641 GB, free: 7.129 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.00107/1.397, allocations: 279.7 kB / 0.7643 GB, free: 6.855 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 99 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001778/1.397, allocations: 133.9 kB / 0.7645 GB, free: 6.719 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001601/1.399, allocations: 1.305 MB / 0.7658 GB, free: 5.742 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.399, allocations: 3.938 kB / 0.7658 GB, free: 5.738 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0007617/1.399, allocations: 0.6382 MB / 0.7664 GB, free: 5.277 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/1.4, allocations: 100.4 kB / 0.7665 GB, free: 5.195 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005883/1.406, allocations: 4.929 MB / 0.7713 GB, free: 340 kB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009708/1.407, allocations: 1.146 MB / 0.7724 GB, free: 15.18 MB / 0.5421 GB Notification: Performance of SimCode: time 2.71e-07/1.407, allocations: 0 / 0.7724 GB, free: 15.18 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat does not exist to compare? outputFormat=mat