Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.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.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.0009573/0.0009574, allocations: 178.2 kB / 7.456 MB, free: 1.535 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.043/1.043, allocations: 205.2 MB / 213.1 MB, free: 3.914 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008323/0.0008322, allocations: 86.83 kB / 261.1 MB, free: 4.348 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5211/0.5211, allocations: 90.34 MB / 399.4 MB, free: 2.512 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1122/0.6333, allocations: 72.4 MB / 471.8 MB, free: 9.949 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.8681, allocations: 66.26 MB / 0.5254 GB, free: 25.61 MB / 386.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.486/7.354, allocations: 4.9 GB / 5.425 GB, free: 59.22 MB / 0.5808 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001452/7.355, allocations: 76.84 kB / 5.426 GB, free: 59.19 MB / 0.5808 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.477/9.831, allocations: 0.8384 GB / 6.264 GB, free: 51.84 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/9.831, allocations: 10.28 kB / 6.264 GB, free: 51.84 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/9.832, allocations: 118.8 kB / 6.264 GB, free: 51.78 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007951/9.832, allocations: 0.5856 MB / 6.265 GB, free: 51.49 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/9.832, allocations: 31.94 kB / 6.265 GB, free: 51.49 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/9.833, allocations: 54.31 kB / 6.265 GB, free: 51.49 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001529/9.834, allocations: 1.447 MB / 6.266 GB, free: 51.49 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/9.836, allocations: 1.264 MB / 6.267 GB, free: 51.41 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/9.836, allocations: 6.594 kB / 6.267 GB, free: 51.41 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/9.836, allocations: 0 / 6.267 GB, free: 51.41 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/9.836, allocations: 87.81 kB / 6.267 GB, free: 51.41 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00441/9.84, allocations: 5.068 MB / 6.272 GB, free: 48.43 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007536/9.841, allocations: 0.761 MB / 6.273 GB, free: 48.39 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007314/9.842, allocations: 0.7677 MB / 6.274 GB, free: 48.37 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/9.843, allocations: 1.498 MB / 6.275 GB, free: 46.96 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/9.843, allocations: 39.72 kB / 6.275 GB, free: 46.92 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=122): time 2.845e-06/9.843, allocations: 3 kB / 6.275 GB, free: 46.92 MB / 0.6121 GB Notification: Performance of matching and sorting (n=122): time 0.003756/9.847, allocations: 1.706 MB / 6.277 GB, free: 46.8 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/9.847, allocations: 94.2 kB / 6.277 GB, free: 46.7 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/9.847, allocations: 354.1 kB / 6.278 GB, free: 46.59 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 6.423e-05/9.847, allocations: 25.7 kB / 6.278 GB, free: 46.56 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/9.847, allocations: 284.8 kB / 6.278 GB, free: 46.38 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/9.847, allocations: 399.5 kB / 6.278 GB, free: 46.12 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/9.847, allocations: 0 / 6.278 GB, free: 46.12 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/9.847, allocations: 381.8 kB / 6.279 GB, free: 45.8 MB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/9.848, allocations: 0.5563 MB / 6.279 GB, free: 45.8 MB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/9.849, allocations: 0.6121 MB / 6.28 GB, free: 45.78 MB / 0.6121 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/9.851, allocations: 0.7831 MB / 6.28 GB, free: 45.77 MB / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/9.851, allocations: 3.281 kB / 6.28 GB, free: 45.77 MB / 0.6121 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003425/9.855, allocations: 1.709 MB / 6.282 GB, free: 45.65 MB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/9.855, allocations: 6.75 kB / 6.282 GB, free: 45.65 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/9.855, allocations: 0 / 6.282 GB, free: 45.65 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003627/9.855, allocations: 116.9 kB / 6.282 GB, free: 45.64 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/9.856, allocations: 194.6 kB / 6.282 GB, free: 45.64 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/9.857, allocations: 2.926 MB / 6.285 GB, free: 43.21 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/9.858, allocations: 61.52 kB / 6.285 GB, free: 43.18 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/9.858, allocations: 102.5 kB / 6.285 GB, free: 43.18 MB / 0.6121 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.0001562/9.858, allocations: 117.3 kB / 6.286 GB, free: 43.07 MB / 0.6121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/9.858, allocations: 85.78 kB / 6.286 GB, free: 43.03 MB / 0.6121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005407/9.864, allocations: 2.315 MB / 6.288 GB, free: 42.88 MB / 0.6121 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.664e-05/9.864, allocations: 23.44 kB / 6.288 GB, free: 42.88 MB / 0.6121 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/9.864, allocations: 3.562 kB / 6.288 GB, free: 42.88 MB / 0.6121 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/9.864, allocations: 6.516 kB / 6.288 GB, free: 42.88 MB / 0.6121 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/9.869, allocations: 3.279 MB / 6.291 GB, free: 42.44 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/9.869, allocations: 3.375 kB / 6.291 GB, free: 42.44 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/9.87, allocations: 192.6 kB / 6.291 GB, free: 42.44 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003283/9.87, allocations: 122.2 kB / 6.291 GB, free: 42.42 MB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-05/9.87, allocations: 39.05 kB / 6.291 GB, free: 42.42 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/9.872, allocations: 2.937 MB / 6.294 GB, free: 40 MB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/9.872, allocations: 0 / 6.294 GB, free: 40 MB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004414/9.877, allocations: 2.889 MB / 6.297 GB, free: 39.63 MB / 0.6121 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006072/9.883, allocations: 4.54 MB / 6.302 GB, free: 38.88 MB / 0.6121 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/9.883, allocations: 168.7 kB / 6.302 GB, free: 38.73 MB / 0.6121 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/9.883, allocations: 6.281 kB / 6.302 GB, free: 38.73 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/9.884, allocations: 40.73 kB / 6.302 GB, free: 38.71 MB / 0.6121 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/9.884, allocations: 85.33 kB / 6.302 GB, free: 38.71 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/9.884, allocations: 105.2 kB / 6.302 GB, free: 38.71 MB / 0.6121 GB Notification: Performance of sort global known variables: time 0.0002311/9.884, allocations: 275 kB / 6.302 GB, free: 38.62 MB / 0.6121 GB Notification: Performance of remove unused functions: time 0.004958/9.889, allocations: 1.998 MB / 6.304 GB, free: 38.24 MB / 0.6121 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.005868/9.895, allocations: 3.465 MB / 6.308 GB, free: 37.52 MB / 0.6121 GB Notification: Performance of simCode: created initialization part: time 0.002709/9.898, allocations: 1.964 MB / 6.309 GB, free: 37.24 MB / 0.6121 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/9.898, allocations: 0 / 6.309 GB, free: 37.24 MB / 0.6121 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/9.899, allocations: 1.246 MB / 6.311 GB, free: 36.98 MB / 0.6121 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/9.901, allocations: 274.9 kB / 6.311 GB, free: 36.96 MB / 0.6121 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/9.903, allocations: 1.628 MB / 6.313 GB, free: 36.6 MB / 0.6121 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/9.904, allocations: 1.292 MB / 6.314 GB, free: 35.89 MB / 0.6121 GB Notification: Performance of SimCode: time 5.61e-07/9.904, allocations: 0 / 6.314 GB, free: 35.89 MB / 0.6121 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1)