Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",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.001564/0.001564, allocations: 180.2 kB / 7.803 MB, free: 1.207 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.669/1.669, allocations: 205.2 MB / 213.4 MB, free: 8.57 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.0008768/0.0008769, allocations: 89.45 kB / 261.4 MB, free: 5.102 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2165/0.2165, allocations: 43.5 MB / 352.9 MB, free: 11.35 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2619/0.4785, allocations: 64.96 MB / 417.8 MB, free: 68.09 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.6097, allocations: 58.85 MB / 476.7 MB, free: 9.195 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.941/8.551, allocations: 3.603 GB / 4.069 GB, free: 86.15 MB / 0.5027 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/8.551, allocations: 86.98 kB / 4.069 GB, free: 86.07 MB / 0.5027 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 1.687/10.24, allocations: 474.8 MB / 4.532 GB, free: 12.29 MB / 0.5027 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/10.24, allocations: 8 kB / 4.532 GB, free: 12.29 MB / 0.5027 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000923/10.24, allocations: 118.7 kB / 4.532 GB, free: 12.17 MB / 0.5027 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/10.24, allocations: 0.7459 MB / 4.533 GB, free: 11.38 MB / 0.5027 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/10.24, allocations: 27.98 kB / 4.533 GB, free: 11.35 MB / 0.5027 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/10.24, allocations: 40 kB / 4.533 GB, free: 11.31 MB / 0.5027 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002635/10.24, allocations: 1.246 MB / 4.534 GB, free: 10.07 MB / 0.5027 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/10.25, allocations: 1.132 MB / 4.535 GB, free: 8.914 MB / 0.5027 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/10.25, allocations: 3.938 kB / 4.535 GB, free: 8.91 MB / 0.5027 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/10.25, allocations: 4 kB / 4.535 GB, free: 8.906 MB / 0.5027 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.2e-05/10.25, allocations: 77.94 kB / 4.536 GB, free: 8.828 MB / 0.5027 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008343/10.26, allocations: 4.6 MB / 4.54 GB, free: 3.91 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/10.26, allocations: 0.7543 MB / 4.541 GB, free: 3.145 MB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000432/10.26, allocations: 370 kB / 4.541 GB, free: 2.781 MB / 0.5027 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000546/10.26, allocations: 0.7368 MB / 4.542 GB, free: 1.898 MB / 0.5027 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/10.26, allocations: 47 kB / 4.542 GB, free: 1.844 MB / 0.5027 GB Notification: Performance of pre-optimization done (n=53): time 2.765e-06/10.26, allocations: 0 / 4.542 GB, free: 1.844 MB / 0.5027 GB Notification: Performance of matching and sorting (n=53): time 0.002527/10.26, allocations: 0.908 MB / 4.543 GB, free: 0.9297 MB / 0.5027 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/10.26, allocations: 115.2 kB / 4.543 GB, free: 0.793 MB / 0.5027 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006911/10.26, allocations: 0.6087 MB / 4.543 GB, free: 184 kB / 0.5027 GB Notification: Performance of collectPreVariables (initialization): time 7.438e-05/10.26, allocations: 29.7 kB / 4.544 GB, free: 148 kB / 0.5027 GB Notification: Performance of collectInitialEqns (initialization): time 0.2453/10.51, allocations: 393.9 kB / 4.544 GB, free: 102.2 MB / 0.5027 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004417/10.51, allocations: 177.5 kB / 4.544 GB, free: 102.1 MB / 0.5027 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/10.51, allocations: 3.469 kB / 4.544 GB, free: 102.1 MB / 0.5027 GB Notification: Performance of setup shared object (initialization): time 0.0001745/10.51, allocations: 377.7 kB / 4.544 GB, free: 101.8 MB / 0.5027 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006992/10.51, allocations: 437 kB / 4.545 GB, free: 101.8 MB / 0.5027 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/10.51, allocations: 0.5485 MB / 4.545 GB, free: 101.7 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007058/10.52, allocations: 1.607 MB / 4.547 GB, free: 101.7 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/10.52, allocations: 0 / 4.547 GB, free: 101.7 MB / 0.5027 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.008165/10.52, allocations: 2.259 MB / 4.549 GB, free: 101.6 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/10.52, allocations: 0.9653 MB / 4.55 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/10.52, allocations: 3.656 kB / 4.55 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/10.52, allocations: 7.438 kB / 4.55 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009535/10.53, allocations: 205.5 kB / 4.55 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/10.53, allocations: 7.031 kB / 4.55 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009634/10.53, allocations: 102.8 kB / 4.55 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/10.53, allocations: 62.02 kB / 4.55 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/10.53, allocations: 3.656 kB / 4.55 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007535/10.53, allocations: 2.068 MB / 4.552 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/10.53, allocations: 7.078 kB / 4.552 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/10.53, allocations: 6.562 kB / 4.552 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008784/10.54, allocations: 203.3 kB / 4.553 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/10.54, allocations: 3.625 kB / 4.553 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/10.54, allocations: 74.78 kB / 4.553 GB, free: 100.6 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/10.54, allocations: 62.47 kB / 4.553 GB, free: 100.6 MB / 0.5027 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003602/10.54, allocations: 120.8 kB / 4.553 GB, free: 100.5 MB / 0.5027 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/10.54, allocations: 79.25 kB / 4.553 GB, free: 100.4 MB / 0.5027 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/10.54, allocations: 1.183 MB / 4.554 GB, free: 100.3 MB / 0.5027 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/10.54, allocations: 6.375 kB / 4.554 GB, free: 100.3 MB / 0.5027 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/10.54, allocations: 3.875 kB / 4.554 GB, free: 100.3 MB / 0.5027 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/10.54, allocations: 7.234 kB / 4.554 GB, free: 100.3 MB / 0.5027 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/10.54, allocations: 1.766 MB / 4.556 GB, free: 99.97 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/10.54, allocations: 0 / 4.556 GB, free: 99.97 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/10.54, allocations: 117.8 kB / 4.556 GB, free: 99.97 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/10.54, allocations: 5.938 kB / 4.556 GB, free: 99.97 MB / 0.5027 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/10.54, allocations: 14.05 kB / 4.556 GB, free: 99.97 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/10.54, allocations: 3.875 kB / 4.556 GB, free: 99.97 MB / 0.5027 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/10.54, allocations: 0 / 4.556 GB, free: 99.97 MB / 0.5027 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001792/10.55, allocations: 1.021 MB / 4.557 GB, free: 99.59 MB / 0.5027 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001976/10.55, allocations: 1.472 MB / 4.558 GB, free: 98.85 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/10.55, allocations: 204.9 kB / 4.559 GB, free: 98.72 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/10.55, allocations: 6.438 kB / 4.559 GB, free: 98.71 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/10.55, allocations: 40.77 kB / 4.559 GB, free: 98.71 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/10.55, allocations: 41.38 kB / 4.559 GB, free: 98.71 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.812e-05/10.55, allocations: 49 kB / 4.559 GB, free: 98.71 MB / 0.5027 GB Notification: Performance of sort global known variables: time 0.000639/10.55, allocations: 0.5228 MB / 4.559 GB, free: 98.62 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.006824/10.56, allocations: 1.735 MB / 4.561 GB, free: 98.59 MB / 0.5027 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005088/10.56, allocations: 2.179 MB / 4.563 GB, free: 98.42 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.002147/10.56, allocations: 1.45 MB / 4.565 GB, free: 98.41 MB / 0.5027 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/10.56, allocations: 5.531 kB / 4.565 GB, free: 98.41 MB / 0.5027 GB Notification: Performance of simCode: created simulation system equations: time 0.0004368/10.56, allocations: 345.5 kB / 4.565 GB, free: 98.41 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/10.57, allocations: 303.7 kB / 4.565 GB, free: 98.4 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/10.57, allocations: 1.26 MB / 4.566 GB, free: 98.06 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/10.57, allocations: 1.23 MB / 4.568 GB, free: 97.35 MB / 0.5027 GB Notification: Performance of SimCode: time 7.22e-07/10.57, allocations: 0 / 4.568 GB, free: 97.35 MB / 0.5027 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1)