Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitOnOff.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.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",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.002034/0.002034, allocations: 182.9 kB / 7.461 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.00693/0.00693, allocations: 1.925 MB / 9.793 MB, free: 464 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.9807/0.9807, allocations: 205.2 MB / 215.9 MB, free: 11.07 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.0007849/0.0007848, allocations: 88.73 kB / 264.4 MB, free: 11.33 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08311/0.08392, allocations: 54.22 MB / 318.6 MB, free: 5.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.2503, allocations: 48.06 MB / 366.7 MB, free: 45.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07376/0.3241, allocations: 79.12 MB / 445.8 MB, free: 3.996 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001628/0.3243, allocations: 75.97 kB / 445.9 MB, free: 3.922 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.01773/0.3421, allocations: 7.198 MB / 453.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.3421, allocations: 8 kB / 453.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.3422, allocations: 39.53 kB / 453.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.3426, allocations: 309.3 kB / 453.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.3426, allocations: 19.98 kB / 453.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.3427, allocations: 20 kB / 453.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003645/0.343, allocations: 189.2 kB / 453.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.3434, allocations: 224.8 kB / 453.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3434, allocations: 0 / 453.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.3435, allocations: 3.906 kB / 453.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.3435, allocations: 8 kB / 453.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.3449, allocations: 0.8696 MB / 454.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.3452, allocations: 178.4 kB / 454.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.3453, allocations: 89.33 kB / 455 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.3454, allocations: 8.234 kB / 455 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.3456, allocations: 143.5 kB / 455.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.3456, allocations: 0 / 455.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.00162/0.3472, allocations: 0.9539 MB / 456.1 MB, free: 9.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.3473, allocations: 59.41 kB / 456.2 MB, free: 9.402 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.3475, allocations: 225 kB / 456.4 MB, free: 9.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.3476, allocations: 25.7 kB / 456.4 MB, free: 9.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.3476, allocations: 164.5 kB / 456.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.864e-05/0.3477, allocations: 114.4 kB / 456.7 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.3478, allocations: 7.938 kB / 456.7 MB, free: 8.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3479, allocations: 342.7 kB / 457 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.348, allocations: 84.8 kB / 457.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.3482, allocations: 121.3 kB / 457.2 MB, free: 8.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.3484, allocations: 97.45 kB / 457.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3484, allocations: 0 / 457.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004581/0.3489, allocations: 294.6 kB / 457.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.059e-05/0.349, allocations: 263 kB / 457.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.349, allocations: 4 kB / 457.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.349, allocations: 4 kB / 457.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.3494, allocations: 83.95 kB / 458 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3494, allocations: 0 / 458 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.3496, allocations: 31.88 kB / 458 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.3497, allocations: 12 kB / 458 MB, free: 7.512 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.939e-06/0.3497, allocations: 4 kB / 458 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003439/0.35, allocations: 219.4 kB / 458.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.35, allocations: 0 / 458.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-06/0.35, allocations: 0 / 458.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.3504, allocations: 81.84 kB / 458.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.3504, allocations: 4.875 kB / 458.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.3506, allocations: 27.97 kB / 458.3 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.3506, allocations: 12 kB / 458.4 MB, free: 7.172 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count,$PRE.controller.on,controller.on) * 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 8.212e-05/0.3507, allocations: 124.2 kB / 458.5 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.3508, allocations: 27.62 kB / 458.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004506/0.3512, allocations: 261.8 kB / 458.8 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3512, allocations: 4 kB / 458.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3513, allocations: 0 / 458.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3513, allocations: 3.984 kB / 458.8 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009573/0.3522, allocations: 0.7568 MB / 459.5 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3522, allocations: 3.938 kB / 459.5 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.3527, allocations: 84.09 kB / 459.6 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3527, allocations: 3.938 kB / 459.6 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.3527, allocations: 4 kB / 459.6 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3527, allocations: 4 kB / 459.6 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3527, allocations: 2.188 kB / 459.6 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006414/0.3534, allocations: 0.5644 MB / 460.2 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008689/0.3542, allocations: 1.044 MB / 461.2 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3544, allocations: 136.7 kB / 461.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.3544, allocations: 9.484 kB / 461.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.3547, allocations: 31.89 kB / 461.4 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.3548, allocations: 35.92 kB / 461.4 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.3548, allocations: 16 kB / 461.5 MB, free: 3.855 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001368/0.355, allocations: 173.2 kB / 461.6 MB, free: 3.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001662/0.3567, allocations: 136 kB / 461.8 MB, free: 3.551 MB / 346.7 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: 6 ($whenCondition2,$whenCondition3,$whenCondition1,opening.T_start,opening.count,controller.on) * Number of discrete states: 1 (opening.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001347/0.3568, allocations: 119.1 kB / 461.9 MB, free: 3.426 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005816/0.3574, allocations: 425.1 kB / 462.3 MB, free: 3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3574, allocations: 4 kB / 462.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.3576, allocations: 135.9 kB / 462.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.358, allocations: 46.16 kB / 462.5 MB, free: 2.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3592, allocations: 0.6476 MB / 463.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/0.3596, allocations: 0.8463 MB / 464 MB, free: 1.258 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3596, allocations: 0 / 464 MB, free: 1.258 MB / 346.7 MB (rm -f MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitOnOff.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitOnOff_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitOnOff.fmu > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)