Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",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.001894/0.001893, allocations: 179 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006464/0.006464, allocations: 1.926 MB / 9.789 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 0.9649/0.9649, allocations: 205.2 MB / 215.9 MB, free: 11.12 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.0008473/0.0008473, allocations: 88.41 kB / 264.4 MB, free: 10.83 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08126/0.08214, allocations: 54.23 MB / 318.6 MB, free: 4.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.2371, allocations: 48.06 MB / 366.7 MB, free: 45.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06445/0.3016, allocations: 75.47 MB / 442.2 MB, free: 7.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001601/0.3017, allocations: 67.97 kB / 442.2 MB, free: 7.523 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.006009/0.3078, allocations: 2.482 MB / 444.7 MB, free: 5.027 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.3078, allocations: 9.312 kB / 444.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.3078, allocations: 13.12 kB / 444.7 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.308, allocations: 191.4 kB / 444.9 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.308, allocations: 0 / 444.9 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3081, allocations: 8 kB / 444.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000105/0.3082, allocations: 47.98 kB / 445 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3083, allocations: 69.62 kB / 445 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3083, allocations: 0 / 445 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3083, allocations: 4 kB / 445 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3083, allocations: 4 kB / 445.1 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.3088, allocations: 356.4 kB / 445.4 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.3092, allocations: 62.61 kB / 445.5 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.3092, allocations: 16.86 kB / 445.5 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.3092, allocations: 4 kB / 445.5 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.3093, allocations: 33.94 kB / 445.5 MB, free: 4.125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3093, allocations: 0 / 445.5 MB, free: 4.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001783/0.3095, allocations: 65.62 kB / 445.6 MB, free: 4.055 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.3095, allocations: 51.41 kB / 445.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.3096, allocations: 136.1 kB / 445.8 MB, free: 3.852 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.3096, allocations: 29.7 kB / 445.8 MB, free: 3.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.3097, allocations: 107.9 kB / 445.9 MB, free: 3.707 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.3097, allocations: 7.812 kB / 445.9 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.3097, allocations: 0 / 445.9 MB, free: 3.699 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.3098, allocations: 325.4 kB / 446.2 MB, free: 3.375 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.3098, allocations: 12 kB / 446.2 MB, free: 3.363 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.3098, allocations: 20 kB / 446.3 MB, free: 3.344 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.484e-05/0.3099, allocations: 15.98 kB / 446.3 MB, free: 3.328 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3099, allocations: 4 kB / 446.3 MB, free: 3.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001352/0.31, allocations: 81.5 kB / 446.4 MB, free: 3.238 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.3101, allocations: 89 kB / 446.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.3101, allocations: 0 / 446.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.3101, allocations: 0 / 446.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.3102, allocations: 19.92 kB / 446.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3102, allocations: 0 / 446.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.458e-05/0.3103, allocations: 11.94 kB / 446.5 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3103, allocations: 3.906 kB / 446.5 MB, free: 3.109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-06/0.3103, allocations: 4 kB / 446.5 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 5.735e-05/0.3104, allocations: 31.98 kB / 446.5 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.81e-07/0.3104, allocations: 0 / 446.5 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-06/0.3104, allocations: 0 / 446.5 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.3104, allocations: 15.98 kB / 446.5 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.92e-07/0.3105, allocations: 3.938 kB / 446.5 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.3105, allocations: 8 kB / 446.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.3105, allocations: 4 kB / 446.5 MB, free: 3.043 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.075e-05/0.3106, allocations: 108.8 kB / 446.6 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3106, allocations: 7.953 kB / 446.7 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.3107, allocations: 65.78 kB / 446.7 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3107, allocations: 0 / 446.7 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3107, allocations: 0 / 446.7 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3107, allocations: 0 / 446.7 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.311, allocations: 317.9 kB / 447 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.311, allocations: 0 / 447 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/0.3111, allocations: 12.23 kB / 447 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3111, allocations: 4 kB / 447 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3111, allocations: 4 kB / 447 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3111, allocations: 0 / 447 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3111, allocations: 0 / 447 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001088/0.3112, allocations: 181.9 kB / 447.2 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001851/0.3114, allocations: 0.5413 MB / 447.8 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.3115, allocations: 93 kB / 447.9 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.3115, allocations: 4 kB / 447.9 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.3116, allocations: 0 / 447.9 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.3116, allocations: 7.906 kB / 447.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.3116, allocations: 0 / 447.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.738e-05/0.3117, allocations: 117.1 kB / 448 MB, free: 1.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001372/0.3131, allocations: 47.83 kB / 448 MB, free: 1.418 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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 9.02e-05/0.3132, allocations: 103.2 kB / 448.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3133, allocations: 52.38 kB / 448.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.3133, allocations: 4 kB / 448.2 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.3133, allocations: 19.92 kB / 448.2 MB, free: 1.234 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.3135, allocations: 6.906 kB / 448.2 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.3138, allocations: 132.5 kB / 448.3 MB, free: 1.074 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.314, allocations: 0.7303 MB / 449.1 MB, free: 328 kB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.314, allocations: 0 / 449.1 MB, free: 328 kB / 330.7 MB (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestSupplyValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSupplyValve.fmu > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)