Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve",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.002346/0.002346, allocations: 178 kB / 7.455 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.978/1.978, allocations: 205.2 MB / 213 MB, free: 13.93 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.001213/0.001213, allocations: 88.69 kB / 261.1 MB, free: 13.55 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.031/1.031, allocations: 90.35 MB / 399.4 MB, free: 12.28 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1542/1.185, allocations: 72.4 MB / 471.8 MB, free: 3.707 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/1.678, allocations: 66.26 MB / 0.5254 GB, free: 28.74 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.449/3.127, allocations: 437.4 MB / 0.9526 GB, free: 161.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/3.127, allocations: 90.98 kB / 0.9526 GB, free: 161.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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.1676/3.295, allocations: 74.3 MB / 1.025 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/3.295, allocations: 12.5 kB / 1.025 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.9e-05/3.295, allocations: 43.44 kB / 1.025 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/3.295, allocations: 313.8 kB / 1.026 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/3.296, allocations: 12 kB / 1.026 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/3.296, allocations: 31.98 kB / 1.026 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004824/3.296, allocations: 321.2 kB / 1.026 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/3.297, allocations: 349.4 kB / 1.026 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/3.297, allocations: 0 / 1.026 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/3.297, allocations: 0 / 1.026 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/3.297, allocations: 8 kB / 1.026 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/3.299, allocations: 1.808 MB / 1.028 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/3.299, allocations: 333 kB / 1.028 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/3.299, allocations: 177.2 kB / 1.028 GB, free: 123 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/3.301, allocations: 1.305 MB / 1.03 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/3.301, allocations: 202 kB / 1.03 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=41): time 2.214e-06/3.301, allocations: 0 / 1.03 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=41): time 0.001157/3.302, allocations: 441.3 kB / 1.03 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/3.302, allocations: 59.41 kB / 1.03 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/3.303, allocations: 215.4 kB / 1.031 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/3.303, allocations: 29.7 kB / 1.031 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/3.303, allocations: 156.6 kB / 1.031 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/3.303, allocations: 138 kB / 1.031 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/3.303, allocations: 0 / 1.031 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/3.303, allocations: 342.8 kB / 1.031 GB, free: 120 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/3.303, allocations: 120.9 kB / 1.031 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/3.303, allocations: 176.9 kB / 1.032 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/3.304, allocations: 197.1 kB / 1.032 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/3.304, allocations: 4 kB / 1.032 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001013/3.305, allocations: 475.9 kB / 1.032 GB, free: 119 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/3.305, allocations: 8 kB / 1.032 GB, free: 119 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/3.305, allocations: 0 / 1.032 GB, free: 119 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/3.305, allocations: 40.83 kB / 1.032 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/3.306, allocations: 79.89 kB / 1.032 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/3.307, allocations: 1.353 MB / 1.034 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/3.307, allocations: 39.78 kB / 1.034 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/3.307, allocations: 23.94 kB / 1.034 GB, free: 117.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/3.307, allocations: 108.9 kB / 1.034 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/3.307, allocations: 39.53 kB / 1.034 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/3.308, allocations: 0.554 MB / 1.034 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/3.308, allocations: 8.141 kB / 1.034 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/3.308, allocations: 7.938 kB / 1.034 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/3.308, allocations: 7.969 kB / 1.034 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/3.31, allocations: 1.016 MB / 1.035 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/3.31, allocations: 0 / 1.035 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/3.31, allocations: 75.92 kB / 1.035 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/3.31, allocations: 44.81 kB / 1.036 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/3.311, allocations: 4 kB / 1.036 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008807/3.311, allocations: 1.345 MB / 1.037 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/3.311, allocations: 3.906 kB / 1.037 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001216/3.313, allocations: 0.7439 MB / 1.038 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001539/3.314, allocations: 1.318 MB / 1.039 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/3.314, allocations: 116.6 kB / 1.039 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/3.314, allocations: 4 kB / 1.039 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/3.315, allocations: 15.89 kB / 1.039 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/3.315, allocations: 36.14 kB / 1.039 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/3.315, allocations: 23.98 kB / 1.039 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001355/3.315, allocations: 171.1 kB / 1.039 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00125/3.316, allocations: 199.6 kB / 1.039 GB, free: 111.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (checkValve.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006135/3.317, allocations: 342.2 kB / 1.04 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007743/3.318, allocations: 483.5 kB / 1.04 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/3.318, allocations: 0 / 1.04 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003888/3.318, allocations: 310 kB / 1.04 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/3.319, allocations: 86.77 kB / 1.041 GB, free: 110 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/3.32, allocations: 0.5214 MB / 1.041 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/3.32, allocations: 0.8535 MB / 1.042 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of SimCode: time 2.51e-07/3.32, allocations: 4 kB / 1.042 GB, free: 108.6 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat does not exist to compare? outputFormat=mat