Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",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.002025/0.002025, allocations: 191.9 kB / 7.806 MB, free: 2.488 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.564/1.564, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009756/0.0009756, allocations: 89.5 kB / 261.4 MB, free: 13.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2217/0.2217, allocations: 43.48 MB / 352.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2464/0.4682, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.862, allocations: 58.84 MB / 476.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.408/2.27, allocations: 0.5982 GB / 1.064 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/2.271, allocations: 83.34 kB / 1.064 GB, free: 160.2 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 1.132/3.403, allocations: 348.4 MB / 1.404 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/3.403, allocations: 11.98 kB / 1.404 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/3.405, allocations: 194.5 kB / 1.404 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/3.408, allocations: 0.8174 MB / 1.405 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.934e-05/3.408, allocations: 20 kB / 1.405 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004525/3.409, allocations: 36 kB / 1.405 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002799/3.412, allocations: 1.007 MB / 1.406 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/3.414, allocations: 1.056 MB / 1.407 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/3.414, allocations: 3.906 kB / 1.407 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/3.414, allocations: 11.98 kB / 1.407 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/3.414, allocations: 85.25 kB / 1.407 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3189/3.733, allocations: 4.371 MB / 1.411 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/3.734, allocations: 0.6312 MB / 1.412 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/3.735, allocations: 310.4 kB / 1.412 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004046/3.735, allocations: 320.9 kB / 1.413 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/3.735, allocations: 43.38 kB / 1.413 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.967e-06/3.735, allocations: 0 / 1.413 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.002969/3.738, allocations: 0.9713 MB / 1.414 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/3.738, allocations: 219.2 kB / 1.414 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/3.739, allocations: 0.6549 MB / 1.415 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/3.739, allocations: 28.33 kB / 1.415 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/3.739, allocations: 377.9 kB / 1.415 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/3.74, allocations: 170.1 kB / 1.415 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/3.74, allocations: 3.094 kB / 1.415 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001941/3.74, allocations: 397.8 kB / 1.415 GB, free: 106 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006229/3.741, allocations: 370.7 kB / 1.416 GB, free: 106 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/3.741, allocations: 0.5538 MB / 1.416 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009035/3.75, allocations: 1.972 MB / 1.418 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/3.75, allocations: 3.594 kB / 1.418 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01151/3.762, allocations: 2.729 MB / 1.421 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004904/3.763, allocations: 1.743 MB / 1.423 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/3.763, allocations: 5.188 kB / 1.423 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003612/3.766, allocations: 0.6451 MB / 1.423 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/3.767, allocations: 160.3 kB / 1.423 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/3.769, allocations: 1.373 MB / 1.425 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/3.77, allocations: 99.14 kB / 1.425 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/3.771, allocations: 74.89 kB / 1.425 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/3.771, allocations: 3.875 kB / 1.425 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01052/3.781, allocations: 2.453 MB / 1.427 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/3.781, allocations: 3.594 kB / 1.427 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007911/3.782, allocations: 160.2 kB / 1.428 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/3.783, allocations: 195.7 kB / 1.428 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/3.785, allocations: 1.992 MB / 1.43 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/3.787, allocations: 83.67 kB / 1.43 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/3.787, allocations: 67.97 kB / 1.43 GB, free: 102.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003485/3.787, allocations: 119.6 kB / 1.43 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/3.787, allocations: 87.47 kB / 1.43 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/3.79, allocations: 1.148 MB / 1.431 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/3.79, allocations: 5.156 kB / 1.431 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/3.79, allocations: 0 / 1.431 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/3.79, allocations: 3.844 kB / 1.431 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/3.793, allocations: 1.761 MB / 1.433 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/3.793, allocations: 3.844 kB / 1.433 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/3.794, allocations: 60.66 kB / 1.433 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/3.796, allocations: 492.9 kB / 1.433 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/3.796, allocations: 13.14 kB / 1.433 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/3.797, allocations: 1.313 MB / 1.435 GB, free: 101 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/3.797, allocations: 0 / 1.435 GB, free: 101 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002006/3.799, allocations: 1.046 MB / 1.436 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002221/3.802, allocations: 1.487 MB / 1.437 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/3.802, allocations: 182.4 kB / 1.437 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/3.802, allocations: 0 / 1.437 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006831/3.803, allocations: 44.59 kB / 1.437 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/3.803, allocations: 41.67 kB / 1.437 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.898e-05/3.803, allocations: 32.41 kB / 1.437 GB, free: 100 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006869/3.804, allocations: 0.4986 MB / 1.438 GB, free: 99.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005492/3.809, allocations: 1.451 MB / 1.439 GB, free: 99.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.005148/3.814, allocations: 2.01 MB / 1.441 GB, free: 99.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002833/3.817, allocations: 1.424 MB / 1.443 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.391e-06/3.817, allocations: 2.094 kB / 1.443 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/3.818, allocations: 333.5 kB / 1.443 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/3.82, allocations: 419.4 kB / 1.443 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/3.823, allocations: 1.207 MB / 1.445 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009785/3.824, allocations: 1.199 MB / 1.446 GB, free: 98.58 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/3.824, allocations: 1.781 kB / 1.446 GB, free: 98.58 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1)