Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",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.002007/0.002007, allocations: 177 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006546/0.006546, allocations: 1.917 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.9648/0.9648, allocations: 205.2 MB / 215.9 MB, free: 11.14 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.0008333/0.0008333, allocations: 92.48 kB / 264.4 MB, free: 10.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08226/0.08312, allocations: 54.21 MB / 318.6 MB, free: 4.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.2416, allocations: 48.06 MB / 366.7 MB, free: 45.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07248/0.3141, allocations: 80.07 MB / 446.8 MB, free: 3.074 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001703/0.3143, allocations: 71.97 kB / 446.8 MB, free: 3.004 MB / 330.7 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.01925/0.3336, allocations: 7.928 MB / 454.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.3336, allocations: 8 kB / 454.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/0.3337, allocations: 47.44 kB / 454.8 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.3341, allocations: 317.8 kB / 455.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3341, allocations: 12 kB / 455.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.3342, allocations: 23.91 kB / 455.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003763/0.3345, allocations: 213.5 kB / 455.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.335, allocations: 250.1 kB / 455.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.335, allocations: 448 / 455.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.335, allocations: 0 / 455.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.335, allocations: 11.98 kB / 455.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.3366, allocations: 0.965 MB / 456.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.3369, allocations: 170.8 kB / 456.8 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.3371, allocations: 96.84 kB / 456.8 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.3371, allocations: 4 kB / 456.9 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.3373, allocations: 140.4 kB / 457 MB, free: 8.723 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 1.764e-06/0.3373, allocations: 0.6562 kB / 457 MB, free: 8.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.0016/0.3389, allocations: 0.9826 MB / 458 MB, free: 7.648 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.339, allocations: 55.41 kB / 458 MB, free: 7.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.3392, allocations: 235.4 kB / 458.3 MB, free: 7.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3392, allocations: 25.7 kB / 458.3 MB, free: 7.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.3393, allocations: 184.2 kB / 458.5 MB, free: 7.129 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.946e-05/0.3394, allocations: 126.2 kB / 458.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.3394, allocations: 2.719 kB / 458.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3395, allocations: 338.8 kB / 458.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3397, allocations: 80.81 kB / 459 MB, free: 6.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3399, allocations: 134.2 kB / 459.1 MB, free: 6.441 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3401, allocations: 104 kB / 459.2 MB, free: 6.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3401, allocations: 0 / 459.2 MB, free: 6.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005072/0.3406, allocations: 297.1 kB / 459.5 MB, free: 6.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.3407, allocations: 363.9 kB / 459.9 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3408, allocations: 8 kB / 459.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3408, allocations: 0 / 459.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.3412, allocations: 91.88 kB / 460 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3412, allocations: 4 kB / 460 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.3414, allocations: 15.98 kB / 460 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.3415, allocations: 16 kB / 460 MB, free: 5.527 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.3415, allocations: 4 kB / 460 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003595/0.3419, allocations: 219.8 kB / 460.2 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.3419, allocations: 4 kB / 460.2 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.3419, allocations: 3.906 kB / 460.2 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.3422, allocations: 91.98 kB / 460.3 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3423, allocations: 7.938 kB / 460.3 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3425, allocations: 11.98 kB / 460.3 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.3425, allocations: 18.19 kB / 460.4 MB, free: 5.176 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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 9.127e-05/0.3426, allocations: 108.9 kB / 460.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.3426, allocations: 31.62 kB / 460.5 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.3431, allocations: 260.5 kB / 460.8 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3431, allocations: 7.906 kB / 460.8 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3431, allocations: 0 / 460.8 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3431, allocations: 3.984 kB / 460.8 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009819/0.3441, allocations: 0.7682 MB / 461.5 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3441, allocations: 1.781 kB / 461.5 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.3446, allocations: 88.05 kB / 461.6 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3446, allocations: 4 kB / 461.6 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.3446, allocations: 3.984 kB / 461.6 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3446, allocations: 4 kB / 461.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3446, allocations: 4 kB / 461.6 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006442/0.3453, allocations: 0.5597 MB / 462.2 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008811/0.3462, allocations: 1.048 MB / 463.2 MB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.3463, allocations: 140.6 kB / 463.4 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.3464, allocations: 0 / 463.4 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.3466, allocations: 23.98 kB / 463.4 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.3467, allocations: 31.86 kB / 463.4 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3468, allocations: 16 kB / 463.5 MB, free: 1.863 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001585/0.3469, allocations: 183.1 kB / 463.6 MB, free: 1.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001577/0.3485, allocations: 132 kB / 463.8 MB, free: 1.555 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001442/0.3487, allocations: 115.1 kB / 463.9 MB, free: 1.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005947/0.3493, allocations: 430.1 kB / 464.3 MB, free: 1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3493, allocations: 0 / 464.3 MB, free: 1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.3495, allocations: 132.4 kB / 464.4 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.3499, allocations: 46.91 kB / 464.5 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3512, allocations: 0.6856 MB / 465.2 MB, free: 108 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/0.3517, allocations: 0.8535 MB / 466 MB, free: 15.23 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3517, allocations: 0 / 466 MB, free: 15.23 MB / 362.7 MB (rm -f MEV_MEV.Test.TestBellJarLinearControl.pipe ; mkfifo MEV_MEV.Test.TestBellJarLinearControl.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarLinearControl.pipe >> ../files/MEV_MEV.Test.TestBellJarLinearControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarLinearControl_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarLinearControl.fmu > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1)