Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",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.004441/0.00444, allocations: 176.2 kB / 7.453 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.996/1.996, 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.000963/0.000963, allocations: 93.47 kB / 261.1 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 1.034/1.034, allocations: 90.36 MB / 399.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1583/1.193, allocations: 72.39 MB / 471.8 MB, free: 3.703 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/1.7, allocations: 66.25 MB / 0.5254 GB, free: 28.79 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.465/3.165, allocations: 436.4 MB / 0.9516 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/3.165, allocations: 85.22 kB / 0.9516 GB, free: 156.8 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.2251/3.391, allocations: 102.3 MB / 1.052 GB, free: 94.76 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/3.391, allocations: 8.5 kB / 1.052 GB, free: 94.75 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/3.391, allocations: 63.25 kB / 1.052 GB, free: 94.69 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007922/3.392, allocations: 382.1 kB / 1.052 GB, free: 94.29 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/3.392, allocations: 12 kB / 1.052 GB, free: 94.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.823e-05/3.392, allocations: 24 kB / 1.052 GB, free: 94.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008557/3.393, allocations: 457.8 kB / 1.052 GB, free: 93.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/3.393, allocations: 392.5 kB / 1.053 GB, free: 93.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/3.393, allocations: 0 / 1.053 GB, free: 93.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/3.394, allocations: 0 / 1.053 GB, free: 93.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/3.394, allocations: 12 kB / 1.053 GB, free: 93.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/3.396, allocations: 2.117 MB / 1.055 GB, free: 91.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/3.397, allocations: 447.9 kB / 1.055 GB, free: 90.63 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/3.397, allocations: 238.2 kB / 1.056 GB, free: 90.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002706/3.4, allocations: 1.831 MB / 1.057 GB, free: 88.37 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/3.4, allocations: 39 kB / 1.057 GB, free: 88.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=55): time 3.366e-06/3.4, allocations: 0 / 1.057 GB, free: 88.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=55): time 0.002082/3.402, allocations: 0.6261 MB / 1.058 GB, free: 87.68 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/3.402, allocations: 55.84 kB / 1.058 GB, free: 87.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/3.403, allocations: 255.4 kB / 1.058 GB, free: 87.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/3.403, allocations: 29.7 kB / 1.058 GB, free: 87.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/3.403, allocations: 176.5 kB / 1.058 GB, free: 87.15 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/3.403, allocations: 181.2 kB / 1.059 GB, free: 86.97 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/3.403, allocations: 0 / 1.059 GB, free: 86.97 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001063/3.403, allocations: 354.8 kB / 1.059 GB, free: 86.61 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/3.403, allocations: 149 kB / 1.059 GB, free: 86.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/3.404, allocations: 212.6 kB / 1.059 GB, free: 86.24 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/3.405, allocations: 317.1 kB / 1.06 GB, free: 85.94 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/3.405, allocations: 0 / 1.06 GB, free: 85.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001623/3.406, allocations: 0.6534 MB / 1.06 GB, free: 85.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/3.406, allocations: 4 kB / 1.06 GB, free: 85.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/3.406, allocations: 4 kB / 1.06 GB, free: 85.26 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/3.407, allocations: 61.8 kB / 1.06 GB, free: 85.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/3.407, allocations: 87.89 kB / 1.06 GB, free: 85.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/3.409, allocations: 2.586 MB / 1.063 GB, free: 82.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/3.41, allocations: 31.72 kB / 1.063 GB, free: 82.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/3.41, allocations: 27.89 kB / 1.063 GB, free: 82.23 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001492/3.41, allocations: 114.2 kB / 1.063 GB, free: 82.11 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/3.41, allocations: 43.59 kB / 1.063 GB, free: 82.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/3.412, allocations: 0.8326 MB / 1.064 GB, free: 81.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/3.412, allocations: 12.14 kB / 1.064 GB, free: 81.22 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/3.412, allocations: 0 / 1.064 GB, free: 81.22 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/3.412, allocations: 7.969 kB / 1.064 GB, free: 81.21 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002744/3.415, allocations: 1.404 MB / 1.065 GB, free: 79.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/3.415, allocations: 3.984 kB / 1.065 GB, free: 79.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/3.415, allocations: 87.89 kB / 1.065 GB, free: 79.67 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/3.416, allocations: 65.73 kB / 1.066 GB, free: 79.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/3.416, allocations: 15.98 kB / 1.066 GB, free: 79.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/3.417, allocations: 2.582 MB / 1.068 GB, free: 76.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/3.417, allocations: 4 kB / 1.068 GB, free: 76.77 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001923/3.419, allocations: 1.073 MB / 1.069 GB, free: 75.66 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002262/3.422, allocations: 1.71 MB / 1.071 GB, free: 73.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/3.422, allocations: 128.4 kB / 1.071 GB, free: 73.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/3.422, allocations: 0 / 1.071 GB, free: 73.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/3.422, allocations: 15.84 kB / 1.071 GB, free: 73.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/3.422, allocations: 36.44 kB / 1.071 GB, free: 73.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/3.422, allocations: 19.98 kB / 1.071 GB, free: 73.69 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001845/3.422, allocations: 199.2 kB / 1.071 GB, free: 73.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001583/3.424, allocations: 259.5 kB / 1.071 GB, free: 73.24 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006905/3.425, allocations: 399.6 kB / 1.072 GB, free: 72.87 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001077/3.426, allocations: 0.6408 MB / 1.072 GB, free: 72.21 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/3.426, allocations: 0 / 1.072 GB, free: 72.21 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006168/3.426, allocations: 481.7 kB / 1.073 GB, free: 71.71 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/3.427, allocations: 117 kB / 1.073 GB, free: 71.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/3.429, allocations: 0.7299 MB / 1.074 GB, free: 70.84 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/3.43, allocations: 0.9112 MB / 1.075 GB, free: 69.91 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/3.43, allocations: 0 / 1.075 GB, free: 69.91 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat does not exist to compare? outputFormat=mat