Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) [: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/Complex 3.2.3+maint.om/package.mo): time 0.004364/0.004365, allocations: 183.2 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009131/0.0009136, allocations: 84.39 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7499/0.7499, allocations: 90.35 MB / 399.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1758/0.9258, allocations: 72.39 MB / 471.8 MB, free: 3.691 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/1.381, allocations: 66.26 MB / 0.5254 GB, free: 28.83 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/2.482, allocations: 454.1 MB / 0.9689 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004582/2.483, allocations: 87.09 kB / 0.969 GB, free: 157.6 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.358/2.841, allocations: 174.2 MB / 1.139 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/2.841, allocations: 8.5 kB / 1.139 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008029/2.841, allocations: 134.5 kB / 1.139 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/2.843, allocations: 0.5997 MB / 1.14 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/2.843, allocations: 32 kB / 1.14 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/2.843, allocations: 55.91 kB / 1.14 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00188/2.845, allocations: 0.9099 MB / 1.141 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/2.847, allocations: 0.9067 MB / 1.142 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/2.847, allocations: 0 / 1.142 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/2.847, allocations: 0 / 1.142 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/2.847, allocations: 24 kB / 1.142 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006659/2.854, allocations: 5.058 MB / 1.147 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/2.855, allocations: 0.7525 MB / 1.147 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006455/2.856, allocations: 492.1 kB / 1.148 GB, free: 192 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2963/3.152, allocations: 3.159 MB / 1.151 GB, free: 183.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/3.152, allocations: 46.25 kB / 1.151 GB, free: 183.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 3.957e-06/3.152, allocations: 0 / 1.151 GB, free: 183.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=129): time 0.01119/3.164, allocations: 3.817 MB / 1.155 GB, free: 182.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/3.164, allocations: 98.94 kB / 1.155 GB, free: 182.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004916/3.164, allocations: 400.6 kB / 1.155 GB, free: 182.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.443e-05/3.164, allocations: 32.83 kB / 1.155 GB, free: 182.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/3.164, allocations: 299.3 kB / 1.155 GB, free: 182.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/3.165, allocations: 433.1 kB / 1.156 GB, free: 182.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/3.165, allocations: 0 / 1.156 GB, free: 182.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001299/3.165, allocations: 394.9 kB / 1.156 GB, free: 181.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/3.165, allocations: 369.2 kB / 1.157 GB, free: 181.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/3.166, allocations: 0.5133 MB / 1.157 GB, free: 181.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/3.168, allocations: 0.6075 MB / 1.158 GB, free: 181.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/3.168, allocations: 3.938 kB / 1.158 GB, free: 181.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003509/3.171, allocations: 1.503 MB / 1.159 GB, free: 181.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/3.171, allocations: 7 kB / 1.159 GB, free: 181.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/3.171, allocations: 3.969 kB / 1.159 GB, free: 181.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009672/3.172, allocations: 298.3 kB / 1.159 GB, free: 181.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009491/3.173, allocations: 248.1 kB / 1.16 GB, free: 181.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006612/3.18, allocations: 10.66 MB / 1.17 GB, free: 171.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/3.181, allocations: 74.03 kB / 1.17 GB, free: 171.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/3.181, allocations: 46.2 kB / 1.17 GB, free: 171.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002612/3.182, allocations: 125.6 kB / 1.17 GB, free: 171.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/3.182, allocations: 98.97 kB / 1.17 GB, free: 171.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004318/3.186, allocations: 1.776 MB / 1.172 GB, free: 171.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/3.186, allocations: 18.03 kB / 1.172 GB, free: 171.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/3.186, allocations: 3.719 kB / 1.172 GB, free: 171.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/3.186, allocations: 9.047 kB / 1.172 GB, free: 171.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005759/3.192, allocations: 2.907 MB / 1.175 GB, free: 171 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/3.192, allocations: 0 / 1.175 GB, free: 171 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009962/3.193, allocations: 256.7 kB / 1.175 GB, free: 171 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009492/3.194, allocations: 297.5 kB / 1.176 GB, free: 171 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.717e-05/3.194, allocations: 35.86 kB / 1.176 GB, free: 171 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007062/3.201, allocations: 10.66 MB / 1.186 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/3.201, allocations: 2.812 kB / 1.186 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00497/3.206, allocations: 2.355 MB / 1.188 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005327/3.212, allocations: 3.366 MB / 1.192 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/3.212, allocations: 153.4 kB / 1.192 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/3.212, allocations: 6.719 kB / 1.192 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009107/3.213, allocations: 86.72 kB / 1.192 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/3.213, allocations: 87.17 kB / 1.192 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/3.213, allocations: 50.59 kB / 1.192 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0003807/3.214, allocations: 306.9 kB / 1.192 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002716/3.216, allocations: 0.4906 MB / 1.193 GB, free: 159.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,boundary_rear.fore.m_flow,boundary_fore.rear.m_flow,reservoir2.M,reservoir2.U_med,source1.outlet.m_flow,sink1.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009004/3.217, allocations: 409.3 kB / 1.193 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00298/3.22, allocations: 1.939 MB / 1.195 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/3.22, allocations: 0 / 1.195 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002072/3.222, allocations: 1.514 MB / 1.197 GB, free: 158 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/3.224, allocations: 222.4 kB / 1.197 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/3.228, allocations: 1.882 MB / 1.199 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009445/3.229, allocations: 1.198 MB / 1.2 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.783e-06/3.229, allocations: 0 / 1.2 GB, free: 156.8 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat does not exist to compare? outputFormat=mat