Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",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.001092/0.001092, allocations: 183.9 kB / 8.138 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.147/1.147, allocations: 221.4 MB / 229.9 MB, free: 2.996 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.0009247/0.0009247, allocations: 92 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.652/0.652, allocations: 120.5 MB / 452 MB, free: 12.96 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.323/0.975, allocations: 88.95 MB / 0.5283 GB, free: 52.35 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/1.082, allocations: 82.85 MB / 0.6092 GB, free: 3.449 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4596/1.542, allocations: 124.4 MB / 0.7307 GB, free: 4.953 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001244/1.542, allocations: 45.69 kB / 0.7307 GB, free: 4.938 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002137/1.544, allocations: 0.7714 MB / 0.7315 GB, free: 4.328 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/1.544, allocations: 9 kB / 0.7315 GB, free: 4.32 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/1.544, allocations: 3.375 kB / 0.7315 GB, free: 4.32 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.709e-05/1.544, allocations: 170.9 kB / 0.7316 GB, free: 4.113 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/1.544, allocations: 4 kB / 0.7316 GB, free: 4.109 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/1.544, allocations: 0 / 0.7316 GB, free: 4.109 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.118e-05/1.544, allocations: 7.375 kB / 0.7317 GB, free: 4.105 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.861e-05/1.544, allocations: 36.97 kB / 0.7317 GB, free: 4.066 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/1.544, allocations: 0 / 0.7317 GB, free: 4.066 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/1.544, allocations: 0 / 0.7317 GB, free: 4.066 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/1.544, allocations: 5.703 kB / 0.7317 GB, free: 4.066 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.595e-05/1.544, allocations: 133.2 kB / 0.7318 GB, free: 3.902 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/1.544, allocations: 48.7 kB / 0.7319 GB, free: 3.855 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/1.544, allocations: 8.922 kB / 0.7319 GB, free: 3.844 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/1.545, allocations: 0 / 0.7319 GB, free: 3.844 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.208e-06/1.545, allocations: 30.56 kB / 0.7319 GB, free: 3.805 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/1.545, allocations: 4 kB / 0.7319 GB, free: 3.801 MB / 0.4953 GB Notification: Performance of matching and sorting (n=3): time 0.0001699/1.545, allocations: 47.5 kB / 0.732 GB, free: 3.758 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.657e-05/1.545, allocations: 54.45 kB / 0.732 GB, free: 3.695 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.148e-05/1.545, allocations: 96.94 kB / 0.7321 GB, free: 3.598 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-06/1.545, allocations: 25.7 kB / 0.7321 GB, free: 3.566 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 7.975e-06/1.545, allocations: 80.14 kB / 0.7322 GB, free: 3.484 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/1.545, allocations: 12.78 kB / 0.7322 GB, free: 3.473 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/1.545, allocations: 0 / 0.7322 GB, free: 3.473 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 8.722e-05/1.545, allocations: 321.1 kB / 0.7325 GB, free: 19.16 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/1.545, allocations: 0 / 0.7325 GB, free: 19.16 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/1.545, allocations: 11.25 kB / 0.7325 GB, free: 19.15 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.989e-05/1.545, allocations: 18.59 kB / 0.7325 GB, free: 19.14 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/1.545, allocations: 0 / 0.7325 GB, free: 19.14 MB / 0.5109 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000119/1.545, allocations: 60.09 kB / 0.7326 GB, free: 19.08 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/1.545, allocations: 4 kB / 0.7326 GB, free: 19.08 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/1.545, allocations: 0 / 0.7326 GB, free: 19.08 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/1.545, allocations: 0 / 0.7326 GB, free: 19.08 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.22e-05/1.545, allocations: 15.11 kB / 0.7326 GB, free: 19.07 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/1.545, allocations: 7.984 kB / 0.7326 GB, free: 19.06 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/1.545, allocations: 0 / 0.7326 GB, free: 19.06 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/1.545, allocations: 0 / 0.7326 GB, free: 19.06 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 (4): * Single equations (assignments): 4 * 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.68e-05/1.545, allocations: 105 kB / 0.7327 GB, free: 18.95 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/1.545, allocations: 12.22 kB / 0.7327 GB, free: 18.94 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/1.546, allocations: 76.59 kB / 0.7328 GB, free: 18.88 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.546, allocations: 0 / 0.7328 GB, free: 18.88 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/1.546, allocations: 0 / 0.7328 GB, free: 18.88 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.546, allocations: 0 / 0.7328 GB, free: 18.88 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.698e-05/1.546, allocations: 147.2 kB / 0.733 GB, free: 18.7 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.546, allocations: 4 kB / 0.733 GB, free: 18.7 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/1.546, allocations: 11.42 kB / 0.733 GB, free: 18.69 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.546, allocations: 0 / 0.733 GB, free: 18.69 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/1.546, allocations: 0 / 0.733 GB, free: 18.69 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.546, allocations: 0 / 0.733 GB, free: 18.69 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.546, allocations: 0 / 0.733 GB, free: 18.69 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001655/1.546, allocations: 109 kB / 0.7331 GB, free: 18.59 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000268/1.546, allocations: 498.7 kB / 0.7335 GB, free: 18.11 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/1.546, allocations: 77.11 kB / 0.7336 GB, free: 18.02 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/1.546, allocations: 4.094 kB / 0.7336 GB, free: 18.01 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.325e-05/1.546, allocations: 4 kB / 0.7336 GB, free: 18.01 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/1.546, allocations: 7.266 kB / 0.7336 GB, free: 18 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/1.546, allocations: 0 / 0.7336 GB, free: 18 MB / 0.5109 GB Notification: Performance of sort global known variables: time 2.886e-05/1.546, allocations: 87.28 kB / 0.7337 GB, free: 17.92 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0007755/1.547, allocations: 12 kB / 0.7337 GB, free: 17.91 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001449/1.547, allocations: 115.3 kB / 0.7338 GB, free: 17.79 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 6.31e-05/1.547, allocations: 19.28 kB / 0.7339 GB, free: 17.78 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/1.547, allocations: 0 / 0.7339 GB, free: 17.78 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/1.547, allocations: 15.19 kB / 0.7339 GB, free: 17.77 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.044e-05/1.547, allocations: 0 / 0.7339 GB, free: 17.77 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002035/1.548, allocations: 86.28 kB / 0.734 GB, free: 17.67 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/1.548, allocations: 0.7053 MB / 0.7346 GB, free: 16.95 MB / 0.5109 GB Notification: Performance of SimCode: time 2.4e-07/1.548, allocations: 0 / 0.7346 GB, free: 16.95 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat does not exist to compare? outputFormat=mat