Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestBellJarOpenLoop.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/MEV 1.1.1-master/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) 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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",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.002099/0.002099, allocations: 186.9 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.007025/0.007025, allocations: 1.92 MB / 9.788 MB, free: 456 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 205.2 MB / 215.9 MB, free: 12.13 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007969/0.0007969, allocations: 92.58 kB / 264.4 MB, free: 11.03 MB / 218.8 MB Notification: Performance of FrontEnd - loaded program: time 0.08287/0.08369, allocations: 54.21 MB / 318.6 MB, free: 4.738 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.2482, allocations: 48.06 MB / 366.7 MB, free: 46.13 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07282/0.321, allocations: 78.34 MB / 445 MB, free: 4.883 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.3212, allocations: 69 kB / 445.1 MB, free: 4.816 MB / 330.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo:395:7-396:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.01501/0.3362, allocations: 6.122 MB / 451.2 MB, free: 14.66 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.3363, allocations: 14.06 kB / 451.2 MB, free: 14.65 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.3364, allocations: 31.62 kB / 451.3 MB, free: 14.62 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.3367, allocations: 289.5 kB / 451.6 MB, free: 14.3 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3368, allocations: 8 kB / 451.6 MB, free: 14.29 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.3368, allocations: 16 kB / 451.6 MB, free: 14.28 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003078/0.3371, allocations: 157.2 kB / 451.7 MB, free: 14.12 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.3375, allocations: 184.8 kB / 451.9 MB, free: 13.94 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3375, allocations: 7.406 kB / 451.9 MB, free: 13.93 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.3375, allocations: 0 / 451.9 MB, free: 13.93 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.3375, allocations: 8 kB / 451.9 MB, free: 13.93 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.3388, allocations: 0.7557 MB / 452.7 MB, free: 13.13 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.339, allocations: 126.1 kB / 452.8 MB, free: 13 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.3391, allocations: 73.27 kB / 452.9 MB, free: 12.93 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.3391, allocations: 192 / 452.9 MB, free: 12.93 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.3392, allocations: 46.69 kB / 452.9 MB, free: 12.88 MB / 346.8 MB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.3392, allocations: 0 / 452.9 MB, free: 12.88 MB / 346.8 MB Notification: Performance of matching and sorting (n=26): time 0.001395/0.3406, allocations: 0.823 MB / 453.7 MB, free: 11.96 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.3406, allocations: 55.41 kB / 453.8 MB, free: 11.89 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3408, allocations: 201.1 kB / 454 MB, free: 11.7 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3409, allocations: 29.7 kB / 454 MB, free: 11.66 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.3409, allocations: 168.1 kB / 454.2 MB, free: 11.49 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.341, allocations: 86.66 kB / 454.3 MB, free: 11.4 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.341, allocations: 0.6562 kB / 454.3 MB, free: 11.4 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3411, allocations: 338.8 kB / 454.6 MB, free: 11.06 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3412, allocations: 56 kB / 454.7 MB, free: 11.01 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.3414, allocations: 104.1 kB / 454.8 MB, free: 10.89 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3415, allocations: 83.91 kB / 454.8 MB, free: 10.81 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3416, allocations: 0 / 454.8 MB, free: 10.81 MB / 346.8 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003655/0.3419, allocations: 229.3 kB / 455.1 MB, free: 10.58 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.3421, allocations: 450.5 kB / 455.5 MB, free: 10.11 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3421, allocations: 4 kB / 455.5 MB, free: 10.1 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3421, allocations: 8 kB / 455.5 MB, free: 10.09 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.3424, allocations: 63.91 kB / 455.6 MB, free: 10.03 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3424, allocations: 10.25 kB / 455.6 MB, free: 10.02 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.3426, allocations: 4 kB / 455.6 MB, free: 10.02 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.3426, allocations: 12 kB / 455.6 MB, free: 10.01 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.3426, allocations: 10.47 kB / 455.6 MB, free: 10 MB / 346.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002681/0.3429, allocations: 171.8 kB / 455.8 MB, free: 9.832 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.3429, allocations: 8.062 kB / 455.8 MB, free: 9.824 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-06/0.3429, allocations: 4 kB / 455.8 MB, free: 9.82 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.3431, allocations: 59.91 kB / 455.9 MB, free: 9.762 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.3432, allocations: 4 kB / 455.9 MB, free: 9.758 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3433, allocations: 5.5 kB / 455.9 MB, free: 9.754 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.3433, allocations: 8 kB / 455.9 MB, free: 9.746 MB / 346.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 8.007e-05/0.3434, allocations: 108.9 kB / 456 MB, free: 9.633 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.3434, allocations: 31.62 kB / 456 MB, free: 9.602 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.3438, allocations: 214.7 kB / 456.2 MB, free: 9.391 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3438, allocations: 0 / 456.2 MB, free: 9.391 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3438, allocations: 0 / 456.2 MB, free: 9.391 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3439, allocations: 7.984 kB / 456.2 MB, free: 9.383 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/0.3447, allocations: 0.6472 MB / 456.9 MB, free: 8.676 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3447, allocations: 3.984 kB / 456.9 MB, free: 8.672 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.3451, allocations: 71.89 kB / 456.9 MB, free: 8.602 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3451, allocations: 7.906 kB / 457 MB, free: 8.594 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.3451, allocations: 0 / 457 MB, free: 8.594 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3451, allocations: 4 kB / 457 MB, free: 8.59 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3452, allocations: 160 / 457 MB, free: 8.59 MB / 346.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005689/0.3457, allocations: 485.1 kB / 457.4 MB, free: 8.059 MB / 346.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007562/0.3465, allocations: 0.917 MB / 458.3 MB, free: 7.074 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.3466, allocations: 124.7 kB / 458.5 MB, free: 6.934 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.3467, allocations: 4 kB / 458.5 MB, free: 6.93 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.3469, allocations: 15.98 kB / 458.5 MB, free: 6.914 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.3469, allocations: 19.92 kB / 458.5 MB, free: 6.895 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3469, allocations: 8 kB / 458.5 MB, free: 6.887 MB / 346.8 MB Notification: Performance of sort global known variables: time 0.0001341/0.3471, allocations: 165.2 kB / 458.7 MB, free: 6.727 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.00153/0.3486, allocations: 111.8 kB / 458.8 MB, free: 6.617 MB / 346.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0001577/0.3488, allocations: 111.9 kB / 458.9 MB, free: 6.5 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.0004286/0.3492, allocations: 269.6 kB / 459.2 MB, free: 6.238 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3492, allocations: 1.5 kB / 459.2 MB, free: 6.238 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3494, allocations: 87.92 kB / 459.2 MB, free: 6.152 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.3497, allocations: 29.3 kB / 459.3 MB, free: 6.125 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.3508, allocations: 0.5738 MB / 459.8 MB, free: 5.504 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.3512, allocations: 0.8168 MB / 460.7 MB, free: 4.664 MB / 346.8 MB Notification: Performance of SimCode: time 3.01e-07/0.3512, allocations: 3.938 kB / 460.7 MB, free: 4.66 MB / 346.8 MB (rm -f MEV_MEV.Test.TestBellJarOpenLoop.pipe ; mkfifo MEV_MEV.Test.TestBellJarOpenLoop.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarOpenLoop.pipe >> ../files/MEV_MEV.Test.TestBellJarOpenLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarOpenLoop_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarOpenLoop.fmu > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1)