Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",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 trunk/package.mo): time 0.001221/0.001221, allocations: 202.1 kB / 8.543 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00088/0.00088, allocations: 94.5 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1756/0.1756, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2016/0.3773, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.471, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.751, allocations: 0.7591 GB / 1.263 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/1.751, allocations: 87.78 kB / 1.263 GB, free: 104.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 3.497/5.248, allocations: 1.153 GB / 2.416 GB, free: 69.03 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/5.248, allocations: 11.09 kB / 2.416 GB, free: 69.03 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/5.253, allocations: 0.4961 MB / 2.417 GB, free: 68.94 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/5.256, allocations: 1.195 MB / 2.418 GB, free: 68.68 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/5.256, allocations: 41.7 kB / 2.418 GB, free: 68.68 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004118/5.256, allocations: 67.53 kB / 2.418 GB, free: 68.68 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005643/5.262, allocations: 3.569 MB / 2.422 GB, free: 68.68 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004586/5.266, allocations: 2.48 MB / 2.424 GB, free: 68.47 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/5.267, allocations: 0 / 2.424 GB, free: 68.47 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/5.267, allocations: 2.562 kB / 2.424 GB, free: 68.47 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/5.267, allocations: 153.4 kB / 2.424 GB, free: 68.47 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01782/5.285, allocations: 9.034 MB / 2.433 GB, free: 65.82 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/5.287, allocations: 1.556 MB / 2.435 GB, free: 65.78 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/5.288, allocations: 0.9829 MB / 2.436 GB, free: 65.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/5.29, allocations: 0.9254 MB / 2.436 GB, free: 64.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/5.29, allocations: 47.58 kB / 2.437 GB, free: 64.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=74): time 2.986e-06/5.29, allocations: 0 / 2.437 GB, free: 64.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=74): time 0.005824/5.295, allocations: 2.603 MB / 2.439 GB, free: 64.78 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/5.296, allocations: 134.8 kB / 2.439 GB, free: 64.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/5.297, allocations: 0.7957 MB / 2.44 GB, free: 64.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002005/5.297, allocations: 29.52 kB / 2.44 GB, free: 64.47 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/5.297, allocations: 0.545 MB / 2.441 GB, free: 64.21 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/5.297, allocations: 253.4 kB / 2.441 GB, free: 64.08 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/5.297, allocations: 3.406 kB / 2.441 GB, free: 64.08 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/5.298, allocations: 343.1 kB / 2.441 GB, free: 63.77 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/5.299, allocations: 0.9768 MB / 2.442 GB, free: 63.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/5.3, allocations: 1.158 MB / 2.443 GB, free: 63.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005213/5.305, allocations: 1.829 MB / 2.445 GB, free: 63.59 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/5.305, allocations: 10.83 kB / 2.445 GB, free: 63.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.008455/5.314, allocations: 3.594 MB / 2.448 GB, free: 63.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003823/5.314, allocations: 1.576 MB / 2.45 GB, free: 61.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/5.314, allocations: 2.875 kB / 2.45 GB, free: 61.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02082/5.335, allocations: 3.741 MB / 2.454 GB, free: 61.83 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/5.337, allocations: 195.3 kB / 2.454 GB, free: 61.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004492/5.341, allocations: 2.821 MB / 2.457 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/5.343, allocations: 118.7 kB / 2.457 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004267/5.344, allocations: 86.61 kB / 2.457 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/5.344, allocations: 3.812 kB / 2.457 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007882/5.352, allocations: 2.955 MB / 2.46 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/5.352, allocations: 12 kB / 2.46 GB, free: 61.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007306/5.352, allocations: 162.9 kB / 2.46 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/5.354, allocations: 271 kB / 2.46 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/5.357, allocations: 2.043 MB / 2.462 GB, free: 59.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/5.359, allocations: 102.6 kB / 2.462 GB, free: 59.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/5.359, allocations: 80.78 kB / 2.462 GB, free: 59.97 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 34} Notification: Performance of prepare postOptimizeDAE: time 0.0005474/5.36, allocations: 130.4 kB / 2.462 GB, free: 59.86 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004457/5.36, allocations: 101 kB / 2.463 GB, free: 59.81 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008598/5.369, allocations: 5.274 MB / 2.468 GB, free: 59.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/5.369, allocations: 9.219 kB / 2.468 GB, free: 59.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/5.369, allocations: 3.906 kB / 2.468 GB, free: 59.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/5.369, allocations: 3.844 kB / 2.468 GB, free: 59.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007414/5.376, allocations: 3.732 MB / 2.471 GB, free: 59.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/5.376, allocations: 0 / 2.471 GB, free: 59.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007594/5.377, allocations: 85.69 kB / 2.471 GB, free: 59.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/5.388, allocations: 2.545 MB / 2.474 GB, free: 59.34 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003112/5.388, allocations: 7.594 kB / 2.474 GB, free: 59.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/5.391, allocations: 2.376 MB / 2.476 GB, free: 58.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/5.392, allocations: 3.281 kB / 2.476 GB, free: 58.79 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004469/5.396, allocations: 2.29 MB / 2.478 GB, free: 58.56 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005304/5.401, allocations: 2.773 MB / 2.481 GB, free: 57.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006529/5.402, allocations: 209.4 kB / 2.481 GB, free: 57.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005095/5.403, allocations: 0 / 2.481 GB, free: 57.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/5.405, allocations: 79.84 kB / 2.481 GB, free: 57.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/5.405, allocations: 50.7 kB / 2.481 GB, free: 57.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002953/5.405, allocations: 55.64 kB / 2.482 GB, free: 57.81 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001028/5.406, allocations: 0.6097 MB / 2.482 GB, free: 57.72 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00948/5.416, allocations: 2.17 MB / 2.484 GB, free: 57.39 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (37): * Single equations (assignments): 36 * 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.008154/5.424, allocations: 2.532 MB / 2.487 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007509/5.431, allocations: 3.262 MB / 2.49 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/5.432, allocations: 4.156 kB / 2.49 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/5.433, allocations: 0.8299 MB / 2.491 GB, free: 56.74 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/5.436, allocations: 452.6 kB / 2.491 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005975/5.442, allocations: 2.081 MB / 2.493 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/5.444, allocations: 1.454 MB / 2.495 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of SimCode: time 1.382e-06/5.444, allocations: 0 / 2.495 GB, free: 55.58 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1)