Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.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/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/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(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",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 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 182.9 kB / 7.461 MB, free: 2.5 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.047/1.047, allocations: 221.4 MB / 229.3 MB, free: 3.227 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.0008469/0.0008469, allocations: 98.31 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.007191/0.007191, allocations: 1.568 MB / 332.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.4068/0.4068, allocations: 90.05 MB / 473.6 MB, free: 7.258 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1786/0.5855, allocations: 76.2 MB / 0.537 GB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.6921, allocations: 69.36 MB / 0.6047 GB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.929/6.621, allocations: 4.586 GB / 5.19 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001758/6.621, allocations: 86.5 kB / 5.19 GB, free: 46.61 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 2.26/8.882, allocations: 0.7779 GB / 5.968 GB, free: 49.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/8.882, allocations: 12.25 kB / 5.968 GB, free: 49.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002622/8.882, allocations: 117.9 kB / 5.968 GB, free: 49.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008111/8.883, allocations: 0.5835 MB / 5.969 GB, free: 49.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/8.883, allocations: 33.47 kB / 5.969 GB, free: 49.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/8.883, allocations: 58.66 kB / 5.969 GB, free: 49.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001542/8.884, allocations: 1.43 MB / 5.97 GB, free: 49.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/8.886, allocations: 1.23 MB / 5.972 GB, free: 49.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/8.886, allocations: 0 / 5.972 GB, free: 49.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/8.886, allocations: 1.594 kB / 5.972 GB, free: 49.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.64e-05/8.886, allocations: 89.39 kB / 5.972 GB, free: 49.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004482/8.891, allocations: 5.048 MB / 5.977 GB, free: 46.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007842/8.891, allocations: 0.7396 MB / 5.977 GB, free: 46.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007373/8.892, allocations: 0.7701 MB / 5.978 GB, free: 46.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000933/8.893, allocations: 1.44 MB / 5.98 GB, free: 44.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/8.893, allocations: 46.16 kB / 5.98 GB, free: 44.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=122): time 2.755e-06/8.893, allocations: 2.375 kB / 5.98 GB, free: 44.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=122): time 0.00357/8.897, allocations: 1.626 MB / 5.981 GB, free: 44.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/8.897, allocations: 90.05 kB / 5.981 GB, free: 44.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/8.897, allocations: 353.1 kB / 5.982 GB, free: 44.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/8.897, allocations: 25.7 kB / 5.982 GB, free: 44.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/8.897, allocations: 283.4 kB / 5.982 GB, free: 44.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/8.897, allocations: 400.8 kB / 5.982 GB, free: 43.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/8.897, allocations: 0 / 5.982 GB, free: 43.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.946e-05/8.897, allocations: 386.7 kB / 5.983 GB, free: 43.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/8.898, allocations: 0.5394 MB / 5.983 GB, free: 43.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/8.899, allocations: 0.603 MB / 5.984 GB, free: 43.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/8.901, allocations: 0.7353 MB / 5.984 GB, free: 43.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/8.901, allocations: 0 / 5.984 GB, free: 43.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003287/8.904, allocations: 1.635 MB / 5.986 GB, free: 43.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/8.904, allocations: 5.656 kB / 5.986 GB, free: 43.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/8.904, allocations: 3.125 kB / 5.986 GB, free: 43.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003431/8.905, allocations: 112.7 kB / 5.986 GB, free: 43.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/8.905, allocations: 177.2 kB / 5.986 GB, free: 43.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/8.907, allocations: 2.922 MB / 5.989 GB, free: 40.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/8.907, allocations: 66.59 kB / 5.989 GB, free: 40.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/8.908, allocations: 69.7 kB / 5.989 GB, free: 40.92 MB / 0.6198 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 (108): * Single equations (assignments): 96 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * 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%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001557/8.908, allocations: 120.9 kB / 5.989 GB, free: 40.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/8.908, allocations: 76.47 kB / 5.99 GB, free: 40.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004782/8.913, allocations: 2.593 MB / 5.992 GB, free: 40.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.826e-05/8.913, allocations: 32.67 kB / 5.992 GB, free: 40.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/8.913, allocations: 1.875 kB / 5.992 GB, free: 40.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/8.913, allocations: 5.391 kB / 5.992 GB, free: 40.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005183/8.918, allocations: 3.187 MB / 5.995 GB, free: 40.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/8.918, allocations: 3.609 kB / 5.995 GB, free: 40.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/8.919, allocations: 174.5 kB / 5.995 GB, free: 40.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003198/8.919, allocations: 127.4 kB / 5.996 GB, free: 40.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.628e-05/8.919, allocations: 32.55 kB / 5.996 GB, free: 40.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/8.921, allocations: 2.937 MB / 5.998 GB, free: 37.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/8.921, allocations: 4.719 kB / 5.998 GB, free: 37.79 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004378/8.925, allocations: 2.793 MB / 6.001 GB, free: 37.43 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005836/8.931, allocations: 4.407 MB / 6.005 GB, free: 36.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/8.931, allocations: 172.7 kB / 6.006 GB, free: 36.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/8.931, allocations: 8.125 kB / 6.006 GB, free: 36.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005362/8.932, allocations: 41.92 kB / 6.006 GB, free: 36.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/8.932, allocations: 77.19 kB / 6.006 GB, free: 36.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/8.932, allocations: 69.48 kB / 6.006 GB, free: 36.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0002244/8.932, allocations: 275 kB / 6.006 GB, free: 36.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004131/8.937, allocations: 1.576 MB / 6.008 GB, free: 36.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 98 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * 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%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004764/8.941, allocations: 2.768 MB / 6.01 GB, free: 35.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002338/8.944, allocations: 1.929 MB / 6.012 GB, free: 35.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/8.944, allocations: 0 / 6.012 GB, free: 35.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/8.945, allocations: 1.239 MB / 6.013 GB, free: 35.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/8.946, allocations: 263 kB / 6.014 GB, free: 35.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/8.949, allocations: 1.599 MB / 6.015 GB, free: 34.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007289/8.95, allocations: 1.209 MB / 6.016 GB, free: 33.99 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/8.95, allocations: 0 / 6.016 GB, free: 33.99 MB / 0.6198 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1)