Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_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.001125/0.001125, allocations: 181.2 kB / 8.132 MB, free: 2.219 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.057/1.057, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0008713/0.0008714, allocations: 98.86 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6218/0.6218, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.314/0.9358, allocations: 89.72 MB / 0.529 GB, free: 51.65 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/1.039, allocations: 82.85 MB / 0.6099 GB, free: 2.727 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.435/1.474, allocations: 124.8 MB / 0.7318 GB, free: 4.254 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001064/1.474, allocations: 51.12 kB / 0.7318 GB, free: 4.234 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.03457/1.508, allocations: 11.54 MB / 0.7431 GB, free: 9.789 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/1.508, allocations: 8 kB / 0.7431 GB, free: 9.781 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/1.509, allocations: 59.44 kB / 0.7432 GB, free: 9.723 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009962/1.51, allocations: 429.6 kB / 0.7436 GB, free: 9.27 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/1.51, allocations: 20 kB / 0.7436 GB, free: 9.25 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/1.51, allocations: 75.2 kB / 0.7437 GB, free: 9.184 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001091/1.511, allocations: 0.7535 MB / 0.7444 GB, free: 8.621 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/1.512, allocations: 0.8161 MB / 0.7452 GB, free: 7.965 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/1.512, allocations: 0 / 0.7452 GB, free: 7.965 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/1.512, allocations: 0 / 0.7452 GB, free: 7.965 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/1.512, allocations: 16 kB / 0.7452 GB, free: 7.949 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005185/1.517, allocations: 4.186 MB / 0.7493 GB, free: 3.5 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/1.519, allocations: 0.866 MB / 0.7501 GB, free: 2.848 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007397/1.519, allocations: 0.6474 MB / 0.7508 GB, free: 2.422 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 9.004e-05/1.519, allocations: 9 kB / 0.7508 GB, free: 2.414 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/1.519, allocations: 56.7 kB / 0.7508 GB, free: 2.359 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=99): time 2.054e-06/1.519, allocations: 0 / 0.7508 GB, free: 2.359 MB / 0.5109 GB Notification: Performance of matching and sorting (n=99): time 0.001769/1.521, allocations: 1.142 MB / 0.7519 GB, free: 1.461 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/1.521, allocations: 68.34 kB / 0.752 GB, free: 1.379 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/1.521, allocations: 129 kB / 0.7521 GB, free: 1.262 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 7.702e-05/1.521, allocations: 29.69 kB / 0.7522 GB, free: 1.227 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/1.522, allocations: 140.5 kB / 0.7523 GB, free: 1.09 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/1.522, allocations: 401.1 kB / 0.7527 GB, free: 0.7461 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/1.522, allocations: 0 / 0.7527 GB, free: 0.7461 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.522, allocations: 370.8 kB / 0.753 GB, free: 408 kB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007496/1.523, allocations: 0.5557 MB / 0.7536 GB, free: 0 / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000837/1.524, allocations: 0.6374 MB / 0.7542 GB, free: 15.52 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008644/1.525, allocations: 0.6513 MB / 0.7548 GB, free: 15.04 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.525, allocations: 0 / 0.7548 GB, free: 15.04 MB / 0.5265 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001986/1.527, allocations: 1.419 MB / 0.7562 GB, free: 13.92 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.527, allocations: 4 kB / 0.7562 GB, free: 13.91 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/1.527, allocations: 4 kB / 0.7562 GB, free: 13.91 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.527, allocations: 11.94 kB / 0.7562 GB, free: 13.9 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/1.529, allocations: 0.5168 MB / 0.7567 GB, free: 13.39 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/1.529, allocations: 5.094 kB / 0.7567 GB, free: 13.39 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/1.53, allocations: 87.03 kB / 0.7568 GB, free: 13.3 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/1.53, allocations: 39.19 kB / 0.7569 GB, free: 13.27 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.0001931/1.53, allocations: 116.7 kB / 0.757 GB, free: 13.15 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/1.53, allocations: 43.53 kB / 0.757 GB, free: 13.11 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/1.53, allocations: 141.9 kB / 0.7572 GB, free: 13.1 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.53, allocations: 8 kB / 0.7572 GB, free: 13.09 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.53, allocations: 2.562 kB / 0.7572 GB, free: 13.09 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.53, allocations: 3.984 kB / 0.7572 GB, free: 13.09 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/1.531, allocations: 0.7347 MB / 0.7579 GB, free: 12.43 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.531, allocations: 0 / 0.7579 GB, free: 12.43 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002926/1.534, allocations: 0.5141 MB / 0.7584 GB, free: 11.92 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/1.534, allocations: 4 kB / 0.7584 GB, free: 11.92 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/1.534, allocations: 37.33 kB / 0.7584 GB, free: 11.89 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.534, allocations: 4 kB / 0.7584 GB, free: 11.88 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.534, allocations: 0 / 0.7584 GB, free: 11.88 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002423/1.537, allocations: 1.931 MB / 0.7603 GB, free: 10.4 MB / 0.5265 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003388/1.54, allocations: 3.071 MB / 0.7633 GB, free: 8.02 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/1.54, allocations: 124.5 kB / 0.7634 GB, free: 7.879 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/1.541, allocations: 23.97 kB / 0.7635 GB, free: 7.855 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007754/1.541, allocations: 47.66 kB / 0.7635 GB, free: 7.809 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/1.541, allocations: 47.86 kB / 0.7635 GB, free: 7.77 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-05/1.542, allocations: 30.61 kB / 0.7636 GB, free: 7.746 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.598e-05/1.542, allocations: 91.2 kB / 0.7637 GB, free: 7.66 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001131/1.543, allocations: 275.8 kB / 0.7639 GB, free: 7.391 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.000205/1.543, allocations: 134.5 kB / 0.7641 GB, free: 7.254 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001648/1.545, allocations: 1.31 MB / 0.7653 GB, free: 6.281 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.545, allocations: 0 / 0.7653 GB, free: 6.281 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0008174/1.545, allocations: 0.6539 MB / 0.766 GB, free: 5.812 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/1.546, allocations: 96.42 kB / 0.7661 GB, free: 5.734 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006155/1.552, allocations: 4.906 MB / 0.7709 GB, free: 0.8945 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.553, allocations: 1.137 MB / 0.772 GB, free: 15.75 MB / 0.5421 GB Notification: Performance of SimCode: time 3.71e-07/1.553, allocations: 3.938 kB / 0.772 GB, free: 15.74 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat does not exist to compare? outputFormat=mat