Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 186.8 kB / 8.523 MB, free: 1.738 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.176/1.176, allocations: 221.4 MB / 230.3 MB, free: 7.738 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.000941/0.000941, allocations: 88.67 kB / 281.2 MB, free: 5.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1576/0.1576, allocations: 44.14 MB / 376.1 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1733/0.3309, allocations: 68.05 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09277/0.4237, allocations: 61.9 MB / 0.4942 GB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.983/5.407, allocations: 3.438 GB / 3.933 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/5.407, allocations: 83.78 kB / 3.933 GB, free: 138.8 MB / 0.5105 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.351/6.758, allocations: 465.3 MB / 4.387 GB, free: 58.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/6.758, allocations: 11.94 kB / 4.387 GB, free: 58.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007423/6.759, allocations: 118.7 kB / 4.387 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/6.76, allocations: 0.74 MB / 4.388 GB, free: 57.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/6.761, allocations: 32 kB / 4.388 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/6.761, allocations: 43.91 kB / 4.388 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00196/6.763, allocations: 1.226 MB / 4.389 GB, free: 56.35 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/6.765, allocations: 1.116 MB / 4.39 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/6.765, allocations: 7.938 kB / 4.39 GB, free: 55.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/6.765, allocations: 0 / 4.39 GB, free: 55.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.45e-05/6.765, allocations: 81.94 kB / 4.39 GB, free: 55.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007035/6.772, allocations: 4.694 MB / 4.395 GB, free: 50.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/6.773, allocations: 0.755 MB / 4.396 GB, free: 49.37 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/6.774, allocations: 377.9 kB / 4.396 GB, free: 49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005613/6.774, allocations: 0.7823 MB / 4.397 GB, free: 48.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/6.774, allocations: 47 kB / 4.397 GB, free: 48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 3.947e-06/6.774, allocations: 3.75 kB / 4.397 GB, free: 48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.002323/6.776, allocations: 0.8886 MB / 4.398 GB, free: 47.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/6.777, allocations: 111.2 kB / 4.398 GB, free: 46.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/6.777, allocations: 0.6126 MB / 4.398 GB, free: 46.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.295e-05/6.777, allocations: 25.7 kB / 4.399 GB, free: 46.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/6.777, allocations: 386.3 kB / 4.399 GB, free: 45.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/6.778, allocations: 185.3 kB / 4.399 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/6.778, allocations: 7.938 kB / 4.399 GB, free: 45.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.371e-05/6.778, allocations: 374.8 kB / 4.399 GB, free: 45.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/6.778, allocations: 433.8 kB / 4.4 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/6.779, allocations: 0.5505 MB / 4.4 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/6.781, allocations: 0.9136 MB / 4.401 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/6.781, allocations: 0 / 4.401 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003461/6.785, allocations: 1.543 MB / 4.403 GB, free: 41.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001952/6.785, allocations: 0.9771 MB / 4.404 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/6.785, allocations: 0 / 4.404 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/6.785, allocations: 8 kB / 4.404 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009262/6.786, allocations: 203.6 kB / 4.404 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/6.786, allocations: 4 kB / 4.404 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009779/6.787, allocations: 95.08 kB / 4.404 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/6.787, allocations: 47.97 kB / 4.404 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/6.787, allocations: 4 kB / 4.404 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003137/6.79, allocations: 1.363 MB / 4.405 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/6.79, allocations: 0 / 4.405 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/6.79, allocations: 8 kB / 4.405 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008896/6.791, allocations: 203.7 kB / 4.406 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/6.791, allocations: 4.312 kB / 4.406 GB, free: 38.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007909/6.792, allocations: 79.33 kB / 4.406 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/6.792, allocations: 35.98 kB / 4.406 GB, free: 38.79 MB / 0.5105 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.00026/6.793, allocations: 132.7 kB / 4.406 GB, free: 38.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/6.793, allocations: 75.16 kB / 4.406 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/6.795, allocations: 1.237 MB / 4.407 GB, free: 37.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/6.795, allocations: 11.94 kB / 4.407 GB, free: 37.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/6.795, allocations: 7.938 kB / 4.407 GB, free: 37.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/6.795, allocations: 7.891 kB / 4.407 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/6.798, allocations: 1.738 MB / 4.409 GB, free: 35.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/6.798, allocations: 0 / 4.409 GB, free: 35.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/6.799, allocations: 115.8 kB / 4.409 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/6.799, allocations: 4 kB / 4.409 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/6.799, allocations: 12 kB / 4.409 GB, free: 35.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/6.799, allocations: 12.23 kB / 4.409 GB, free: 35.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/6.799, allocations: 4 kB / 4.409 GB, free: 35.35 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001755/6.801, allocations: 0.9985 MB / 4.41 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001962/6.803, allocations: 1.453 MB / 4.411 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/6.803, allocations: 208 kB / 4.412 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/6.803, allocations: 7.906 kB / 4.412 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008171/6.804, allocations: 43.89 kB / 4.412 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/6.804, allocations: 36.38 kB / 4.412 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/6.804, allocations: 35.98 kB / 4.412 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006451/6.805, allocations: 0.5265 MB / 4.412 GB, free: 31.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005569/6.81, allocations: 1.658 MB / 4.414 GB, free: 30.19 MB / 0.5105 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.004598/6.815, allocations: 2.056 MB / 4.416 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002107/6.817, allocations: 1.437 MB / 4.417 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/6.817, allocations: 0 / 4.417 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004222/6.818, allocations: 345.9 kB / 4.418 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/6.819, allocations: 301.9 kB / 4.418 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/6.822, allocations: 1.26 MB / 4.419 GB, free: 25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009706/6.823, allocations: 1.188 MB / 4.42 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of SimCode: time 4.8e-07/6.823, allocations: 0 / 4.42 GB, free: 23.78 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1)