Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitLinearize.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.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",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.002032/0.002032, allocations: 183.2 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006877/0.006877, allocations: 1.92 MB / 9.793 MB, free: 460 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.9878/0.9878, allocations: 205.2 MB / 215.9 MB, free: 12.06 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.0007835/0.0007835, allocations: 84.98 kB / 264.4 MB, free: 11.02 MB / 218.8 MB Notification: Performance of FrontEnd - loaded program: time 0.08061/0.08142, allocations: 54.22 MB / 318.6 MB, free: 4.734 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.2414, allocations: 48.06 MB / 366.7 MB, free: 45.86 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07159/0.313, allocations: 78.14 MB / 444.8 MB, free: 5.004 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001651/0.3132, allocations: 71.97 kB / 444.9 MB, free: 4.934 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.01437/0.3276, allocations: 5.987 MB / 450.9 MB, free: 14.92 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3277, allocations: 8 kB / 450.9 MB, free: 14.91 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.3277, allocations: 32.66 kB / 450.9 MB, free: 14.88 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.3281, allocations: 277.5 kB / 451.2 MB, free: 14.57 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3281, allocations: 12 kB / 451.2 MB, free: 14.56 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.3281, allocations: 15.98 kB / 451.2 MB, free: 14.54 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002828/0.3284, allocations: 157.3 kB / 451.4 MB, free: 14.39 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.3287, allocations: 184.8 kB / 451.6 MB, free: 14.2 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3288, allocations: 0 / 451.6 MB, free: 14.2 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.3288, allocations: 3.391 kB / 451.6 MB, free: 14.2 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3288, allocations: 8 kB / 451.6 MB, free: 14.2 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3299, allocations: 0.7477 MB / 452.3 MB, free: 13.41 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.3301, allocations: 125.7 kB / 452.4 MB, free: 13.28 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3303, allocations: 70.36 kB / 452.5 MB, free: 13.21 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.3303, allocations: 4 kB / 452.5 MB, free: 13.21 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.3303, allocations: 34.56 kB / 452.6 MB, free: 13.16 MB / 346.8 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.3303, allocations: 0 / 452.6 MB, free: 13.16 MB / 346.8 MB Notification: Performance of matching and sorting (n=25): time 0.001268/0.3316, allocations: 0.8065 MB / 453.4 MB, free: 12.27 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.3316, allocations: 55.41 kB / 453.4 MB, free: 12.2 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.3318, allocations: 200.3 kB / 453.6 MB, free: 12 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3319, allocations: 25.7 kB / 453.6 MB, free: 11.97 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.3319, allocations: 172.1 kB / 453.8 MB, free: 11.79 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.332, allocations: 82.7 kB / 453.9 MB, free: 11.71 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.332, allocations: 0 / 453.9 MB, free: 11.71 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 8.93e-05/0.3321, allocations: 338.8 kB / 454.2 MB, free: 11.37 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.802e-05/0.3322, allocations: 56.56 kB / 454.3 MB, free: 11.31 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3323, allocations: 97.12 kB / 454.4 MB, free: 11.2 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3325, allocations: 82.7 kB / 454.4 MB, free: 11.12 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3325, allocations: 3.906 kB / 454.4 MB, free: 11.12 MB / 346.8 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003631/0.3329, allocations: 222.4 kB / 454.7 MB, free: 10.9 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.3331, allocations: 449 kB / 455.1 MB, free: 10.42 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3331, allocations: 4 kB / 455.1 MB, free: 10.42 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.3331, allocations: 0 / 455.1 MB, free: 10.42 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.3334, allocations: 63.91 kB / 455.2 MB, free: 10.36 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3334, allocations: 4 kB / 455.2 MB, free: 10.35 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3335, allocations: 0 / 455.2 MB, free: 10.35 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.3335, allocations: 15.98 kB / 455.2 MB, free: 10.34 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.3335, allocations: 4 kB / 455.2 MB, free: 10.33 MB / 346.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002535/0.3338, allocations: 156.1 kB / 455.3 MB, free: 10.18 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3338, allocations: 0 / 455.3 MB, free: 10.18 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/0.3338, allocations: 7.938 kB / 455.4 MB, free: 10.17 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.334, allocations: 57.97 kB / 455.4 MB, free: 10.12 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.3341, allocations: 4 kB / 455.4 MB, free: 10.11 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.775e-05/0.3342, allocations: 0 / 455.4 MB, free: 10.11 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3342, allocations: 16.03 kB / 455.4 MB, free: 10.1 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 (34): * Single equations (assignments): 34 * 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 7.301e-05/0.3343, allocations: 115.3 kB / 455.5 MB, free: 9.98 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.3343, allocations: 23.72 kB / 455.6 MB, free: 9.957 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.3347, allocations: 203.5 kB / 455.8 MB, free: 9.762 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3347, allocations: 4 kB / 455.8 MB, free: 9.758 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3347, allocations: 0 / 455.8 MB, free: 9.758 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3347, allocations: 3.906 kB / 455.8 MB, free: 9.754 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008013/0.3355, allocations: 0.6391 MB / 456.4 MB, free: 9.059 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3355, allocations: 0 / 456.4 MB, free: 9.059 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.3358, allocations: 63.89 kB / 456.5 MB, free: 8.996 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3358, allocations: 4 kB / 456.5 MB, free: 8.992 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.3359, allocations: 8 kB / 456.5 MB, free: 8.984 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3359, allocations: 4.156 kB / 456.5 MB, free: 8.98 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3359, allocations: 4 kB / 456.5 MB, free: 8.977 MB / 346.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004886/0.3364, allocations: 472.1 kB / 457 MB, free: 8.453 MB / 346.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008721/0.3373, allocations: 1.074 MB / 458 MB, free: 7.312 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.3374, allocations: 129 kB / 458.2 MB, free: 7.168 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.3374, allocations: 3.984 kB / 458.2 MB, free: 7.164 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.3376, allocations: 15.89 kB / 458.2 MB, free: 7.148 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.3376, allocations: 12.55 kB / 458.2 MB, free: 7.137 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3376, allocations: 8 kB / 458.2 MB, free: 7.129 MB / 346.8 MB Notification: Performance of sort global known variables: time 0.0001193/0.3378, allocations: 164.5 kB / 458.4 MB, free: 6.965 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.001502/0.3393, allocations: 104 kB / 458.5 MB, free: 6.863 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 (26): * Single equations (assignments): 26 * 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.000123/0.3394, allocations: 111.8 kB / 458.6 MB, free: 6.742 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.3398, allocations: 256.8 kB / 458.8 MB, free: 6.492 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3398, allocations: 4 kB / 458.8 MB, free: 6.488 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3399, allocations: 83.86 kB / 458.9 MB, free: 6.406 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.3402, allocations: 38.42 kB / 458.9 MB, free: 6.371 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.3412, allocations: 0.5664 MB / 459.5 MB, free: 5.762 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.3416, allocations: 0.8186 MB / 460.3 MB, free: 4.918 MB / 346.8 MB Notification: Performance of SimCode: time 2.4e-07/0.3416, allocations: 0 / 460.3 MB, free: 4.918 MB / 346.8 MB (rm -f MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitLinearize.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitLinearize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitLinearize_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitLinearize.fmu > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1)