Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.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.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter",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.00296/0.002959, allocations: 178.3 kB / 7.454 MB, free: 2.516 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.514/1.514, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.00109/0.00109, allocations: 94.52 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.7747/0.7747, allocations: 90.35 MB / 399.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1556/0.9304, allocations: 72.38 MB / 471.7 MB, free: 3.738 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/1.357, allocations: 66.27 MB / 0.5254 GB, free: 28.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/2.523, allocations: 430.1 MB / 0.9454 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/2.524, allocations: 76.23 kB / 0.9455 GB, free: 165.2 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.1445/2.668, allocations: 65.04 MB / 1.009 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/2.668, allocations: 8 kB / 1.009 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.721e-05/2.668, allocations: 23.72 kB / 1.009 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/2.669, allocations: 243.3 kB / 1.009 GB, free: 143.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/2.669, allocations: 8 kB / 1.009 GB, free: 143.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/2.669, allocations: 12 kB / 1.009 GB, free: 143.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002723/2.669, allocations: 120.3 kB / 1.009 GB, free: 143.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/2.669, allocations: 166.5 kB / 1.01 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/2.669, allocations: 7.844 kB / 1.01 GB, free: 143 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/2.669, allocations: 3.984 kB / 1.01 GB, free: 143 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/2.669, allocations: 4 kB / 1.01 GB, free: 143 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/2.671, allocations: 1.024 MB / 1.011 GB, free: 141.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/2.671, allocations: 150.5 kB / 1.011 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/2.671, allocations: 84.78 kB / 1.011 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/2.671, allocations: 251.3 kB / 1.011 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/2.671, allocations: 42.55 kB / 1.011 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 3.637e-06/2.671, allocations: 0 / 1.011 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.001374/2.673, allocations: 0.6138 MB / 1.012 GB, free: 140.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/2.673, allocations: 51.41 kB / 1.012 GB, free: 140.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/2.673, allocations: 138.4 kB / 1.012 GB, free: 140.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/2.673, allocations: 25.7 kB / 1.012 GB, free: 140.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/2.673, allocations: 128.3 kB / 1.012 GB, free: 140.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/2.673, allocations: 63.02 kB / 1.012 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/2.673, allocations: 0 / 1.012 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/2.673, allocations: 334.8 kB / 1.012 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.793e-05/2.673, allocations: 72.16 kB / 1.012 GB, free: 139.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/2.673, allocations: 94.06 kB / 1.013 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/2.673, allocations: 79.95 kB / 1.013 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/2.673, allocations: 0 / 1.013 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004942/2.674, allocations: 294 kB / 1.013 GB, free: 139.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/2.674, allocations: 11.94 kB / 1.013 GB, free: 139.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/2.674, allocations: 4 kB / 1.013 GB, free: 139.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/2.674, allocations: 88.8 kB / 1.013 GB, free: 139.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/2.674, allocations: 19.98 kB / 1.013 GB, free: 139.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/2.676, allocations: 1.795 MB / 1.015 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/2.676, allocations: 11.92 kB / 1.015 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/2.676, allocations: 12 kB / 1.015 GB, free: 137.3 MB / 0.5886 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/2.676, allocations: 105 kB / 1.015 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/2.676, allocations: 15.81 kB / 1.015 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/2.677, allocations: 278.1 kB / 1.015 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/2.677, allocations: 7.906 kB / 1.015 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/2.677, allocations: 0 / 1.015 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/2.677, allocations: 7.984 kB / 1.015 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/2.677, allocations: 266.1 kB / 1.015 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/2.677, allocations: 0 / 1.015 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/2.677, allocations: 15.94 kB / 1.015 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002752/2.678, allocations: 100.7 kB / 1.016 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/2.678, allocations: 11.98 kB / 1.016 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/2.679, allocations: 1.795 MB / 1.017 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/2.679, allocations: 0 / 1.017 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005749/2.68, allocations: 449.4 kB / 1.018 GB, free: 134 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007843/2.681, allocations: 0.9064 MB / 1.019 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/2.681, allocations: 89.08 kB / 1.019 GB, free: 133 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/2.681, allocations: 7.984 kB / 1.019 GB, free: 133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/2.681, allocations: 11.98 kB / 1.019 GB, free: 133 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/2.681, allocations: 11.98 kB / 1.019 GB, free: 133 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/2.681, allocations: 4 kB / 1.019 GB, free: 133 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.384e-05/2.681, allocations: 112.9 kB / 1.019 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001081/2.682, allocations: 95.98 kB / 1.019 GB, free: 132.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (splitterN.outlets[1].m_flow,splitterN.outlets[2].m_flow,splitterN.outlets[3].m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004795/2.683, allocations: 274.4 kB / 1.019 GB, free: 132.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006775/2.683, allocations: 351.2 kB / 1.02 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/2.683, allocations: 0 / 1.02 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004672/2.684, allocations: 271.1 kB / 1.02 GB, free: 131.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/2.684, allocations: 27.89 kB / 1.02 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/2.685, allocations: 478.8 kB / 1.02 GB, free: 131.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003908/2.686, allocations: 0.7803 MB / 1.021 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of SimCode: time 2.61e-07/2.686, allocations: 0 / 1.021 GB, free: 130.5 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter_res.mat does not exist to compare? outputFormat=mat