Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.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.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",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.00195/0.00195, allocations: 183.5 kB / 7.462 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006545/0.006546, allocations: 1.929 MB / 9.796 MB, free: 440 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.968/0.968, allocations: 205.2 MB / 215.9 MB, free: 12.05 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.0007857/0.0007857, allocations: 93.7 kB / 264.4 MB, free: 10.94 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08082/0.08163, allocations: 54.21 MB / 318.6 MB, free: 4.652 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.2448, allocations: 48.06 MB / 366.7 MB, free: 45.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07187/0.3167, allocations: 76.3 MB / 443 MB, free: 6.734 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001708/0.3169, allocations: 67.97 kB / 443.1 MB, free: 6.668 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.008608/0.3256, allocations: 3.403 MB / 446.5 MB, free: 3.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3256, allocations: 8 kB / 446.5 MB, free: 3.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/0.3257, allocations: 23.8 kB / 446.5 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.3259, allocations: 222.6 kB / 446.7 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3259, allocations: 8 kB / 446.7 MB, free: 2.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.326, allocations: 8 kB / 446.7 MB, free: 2.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001782/0.3262, allocations: 80.66 kB / 446.8 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.3264, allocations: 121.4 kB / 446.9 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3264, allocations: 0 / 446.9 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3264, allocations: 0 / 446.9 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3264, allocations: 4 kB / 446.9 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008299/0.3272, allocations: 0.5049 MB / 447.4 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3274, allocations: 86.52 kB / 447.5 MB, free: 2.094 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.3274, allocations: 48.83 kB / 447.6 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.3275, allocations: 0 / 447.6 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.3275, allocations: 34.56 kB / 447.6 MB, free: 2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.3275, allocations: 0 / 447.6 MB, free: 2 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001147/0.3286, allocations: 495.6 kB / 448.1 MB, free: 1.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.3287, allocations: 55.39 kB / 448.1 MB, free: 1.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3288, allocations: 134.5 kB / 448.3 MB, free: 1.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3288, allocations: 25.7 kB / 448.3 MB, free: 1.219 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.3289, allocations: 125.4 kB / 448.4 MB, free: 1.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.3289, allocations: 59.11 kB / 448.5 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.3289, allocations: 0 / 448.5 MB, free: 1.035 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.329, allocations: 326.2 kB / 448.8 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.3291, allocations: 40 kB / 448.8 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.3292, allocations: 49.7 kB / 448.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.239e-05/0.3292, allocations: 43.98 kB / 448.9 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3293, allocations: 0 / 448.9 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001976/0.3295, allocations: 137.4 kB / 449.1 MB, free: 444 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3295, allocations: 7.984 kB / 449.1 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3295, allocations: 0 / 449.1 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.3295, allocations: 1.219 kB / 449.1 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3297, allocations: 48.02 kB / 449.1 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3297, allocations: 0 / 449.1 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.58e-05/0.3298, allocations: 15.89 kB / 449.1 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3299, allocations: 4 kB / 449.1 MB, free: 368 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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 5.839e-05/0.3299, allocations: 104.9 kB / 449.2 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.33, allocations: 19.81 kB / 449.3 MB, free: 236 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.33, allocations: 21.59 kB / 449.3 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.33, allocations: 3.984 kB / 449.3 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.33, allocations: 0 / 449.3 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.33, allocations: 0 / 449.3 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.3306, allocations: 0.5108 MB / 449.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3306, allocations: 0 / 449.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.3308, allocations: 47.91 kB / 449.8 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3309, allocations: 4 kB / 449.8 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3309, allocations: 256 / 449.8 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3309, allocations: 8 kB / 449.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3309, allocations: 4 kB / 449.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003976/0.3313, allocations: 426.9 kB / 450.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004864/0.3318, allocations: 0.8363 MB / 451.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.3319, allocations: 101 kB / 451.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.3319, allocations: 11.91 kB / 451.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.3321, allocations: 15.98 kB / 451.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.3321, allocations: 16.05 kB / 451.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3321, allocations: 8 kB / 451.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.651e-05/0.3322, allocations: 112 kB / 451.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000811/0.333, allocations: 35.94 kB / 451.4 MB, free: 13.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001017/0.3331, allocations: 95.48 kB / 451.5 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.3333, allocations: 99.84 kB / 451.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3333, allocations: 7.938 kB / 451.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.3334, allocations: 52 kB / 451.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.3336, allocations: 21.89 kB / 451.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/0.3342, allocations: 337.1 kB / 452 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.3345, allocations: 0.7625 MB / 452.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3345, allocations: 0 / 452.8 MB, free: 12.39 MB / 346.7 MB (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinder_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinder.fmu > MEV_MEV.Test.TestCylinder.pipe 2>&1)