Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",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.001209/0.001209, allocations: 183.4 kB / 8.135 MB, free: 2.223 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.172/1.172, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.001045/0.001045, allocations: 85.69 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6652/0.6652, allocations: 120.5 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3322/0.9974, allocations: 88.94 MB / 0.5283 GB, free: 52.32 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/1.109, allocations: 82.85 MB / 0.6092 GB, free: 3.465 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4632/1.572, allocations: 124.3 MB / 0.7306 GB, free: 5.027 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001118/1.572, allocations: 48.92 kB / 0.7307 GB, free: 5.012 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.001302/1.574, allocations: 0.5438 MB / 0.7312 GB, free: 4.539 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/1.574, allocations: 8 kB / 0.7312 GB, free: 4.531 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/1.574, allocations: 0 / 0.7312 GB, free: 4.531 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.484e-05/1.574, allocations: 163 kB / 0.7314 GB, free: 4.332 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/1.574, allocations: 3.906 kB / 0.7314 GB, free: 4.328 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/1.574, allocations: 4 kB / 0.7314 GB, free: 4.324 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.907e-05/1.574, allocations: 3.312 kB / 0.7314 GB, free: 4.324 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.467e-05/1.574, allocations: 34.09 kB / 0.7314 GB, free: 4.289 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/1.574, allocations: 0 / 0.7314 GB, free: 4.289 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/1.574, allocations: 4 kB / 0.7314 GB, free: 4.285 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.574, allocations: 4.688 kB / 0.7314 GB, free: 4.285 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.941e-05/1.574, allocations: 130.2 kB / 0.7315 GB, free: 4.121 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 3.488e-05/1.574, allocations: 25.92 kB / 0.7316 GB, free: 4.09 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/1.574, allocations: 4.859 kB / 0.7316 GB, free: 4.082 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/1.574, allocations: 88.45 kB / 0.7317 GB, free: 3.98 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/1.574, allocations: 39.31 kB / 0.7317 GB, free: 3.934 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/1.574, allocations: 3.984 kB / 0.7317 GB, free: 3.93 MB / 0.4953 GB Notification: Performance of matching and sorting (n=2): time 0.0001431/1.574, allocations: 43.09 kB / 0.7317 GB, free: 3.891 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.707e-05/1.575, allocations: 51.41 kB / 0.7318 GB, free: 3.828 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.218e-05/1.575, allocations: 85 kB / 0.7319 GB, free: 3.738 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/1.575, allocations: 25.7 kB / 0.7319 GB, free: 3.707 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 8.386e-06/1.575, allocations: 84.14 kB / 0.732 GB, free: 3.621 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/1.575, allocations: 3.906 kB / 0.732 GB, free: 3.613 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/1.575, allocations: 4.031 kB / 0.732 GB, free: 3.609 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/1.575, allocations: 318.3 kB / 0.7323 GB, free: 19.29 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/1.575, allocations: 0 / 0.7323 GB, free: 19.29 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-06/1.575, allocations: 4 kB / 0.7323 GB, free: 19.29 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.558e-05/1.575, allocations: 11.22 kB / 0.7323 GB, free: 19.28 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/1.575, allocations: 0 / 0.7323 GB, free: 19.28 MB / 0.5109 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.366e-05/1.575, allocations: 37.17 kB / 0.7323 GB, free: 19.24 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/1.575, allocations: 4 kB / 0.7323 GB, free: 19.24 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.575, allocations: 4.156 kB / 0.7323 GB, free: 19.24 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/1.575, allocations: 8 kB / 0.7323 GB, free: 19.23 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.374e-05/1.575, allocations: 0 / 0.7323 GB, free: 19.23 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/1.575, allocations: 7.844 kB / 0.7324 GB, free: 19.22 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.457e-05/1.575, allocations: 4 kB / 0.7324 GB, free: 19.22 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/1.575, allocations: 0 / 0.7324 GB, free: 19.22 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.366e-05/1.575, allocations: 105.5 kB / 0.7325 GB, free: 19.11 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/1.575, allocations: 0 / 0.7325 GB, free: 19.11 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/1.575, allocations: 55.39 kB / 0.7325 GB, free: 19.06 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/1.575, allocations: 7.906 kB / 0.7325 GB, free: 19.05 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.575, allocations: 0 / 0.7325 GB, free: 19.05 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/1.575, allocations: 0 / 0.7325 GB, free: 19.05 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.253e-05/1.575, allocations: 129 kB / 0.7326 GB, free: 18.89 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.575, allocations: 2 kB / 0.7326 GB, free: 18.89 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/1.575, allocations: 4 kB / 0.7326 GB, free: 18.89 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.575, allocations: 0 / 0.7326 GB, free: 18.89 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/1.575, allocations: 0 / 0.7326 GB, free: 18.89 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/1.575, allocations: 0 / 0.7326 GB, free: 18.89 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.575, allocations: 4.031 kB / 0.7327 GB, free: 18.89 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.724e-05/1.575, allocations: 71.58 kB / 0.7327 GB, free: 18.81 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001976/1.576, allocations: 448.3 kB / 0.7331 GB, free: 18.36 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/1.576, allocations: 84.42 kB / 0.7332 GB, free: 18.26 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/1.576, allocations: 4.062 kB / 0.7332 GB, free: 18.25 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/1.576, allocations: 0 / 0.7332 GB, free: 18.25 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/1.576, allocations: 0 / 0.7332 GB, free: 18.25 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/1.576, allocations: 0 / 0.7332 GB, free: 18.25 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.066e-05/1.576, allocations: 75.28 kB / 0.7333 GB, free: 18.18 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0007917/1.576, allocations: 4.625 kB / 0.7333 GB, free: 18.18 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001002/1.577, allocations: 102.6 kB / 0.7334 GB, free: 18.07 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 4.936e-05/1.577, allocations: 4 kB / 0.7334 GB, free: 18.07 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/1.577, allocations: 8.062 kB / 0.7334 GB, free: 18.06 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/1.577, allocations: 7.562 kB / 0.7334 GB, free: 18.05 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.155e-05/1.577, allocations: 7.906 kB / 0.7334 GB, free: 18.05 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001348/1.577, allocations: 47.25 kB / 0.7335 GB, free: 17.98 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/1.577, allocations: 0.6841 MB / 0.7341 GB, free: 17.27 MB / 0.5109 GB Notification: Performance of SimCode: time 6.92e-07/1.577, allocations: 0 / 0.7341 GB, free: 17.27 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat does not exist to compare? outputFormat=mat