Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestStandardPatient.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.TestStandardPatient,fileNamePrefix="MEV_MEV_Test_TestStandardPatient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestStandardPatient,fileNamePrefix="MEV_MEV_Test_TestStandardPatient",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.002011/0.002011, allocations: 183.9 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.006378/0.006378, allocations: 1.925 MB / 9.794 MB, free: 448 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.9607/0.9607, allocations: 205.2 MB / 215.9 MB, free: 12.14 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.0008236/0.0008236, allocations: 79.8 kB / 264.4 MB, free: 11.05 MB / 218.8 MB Notification: Performance of FrontEnd - loaded program: time 0.08219/0.08304, allocations: 54.22 MB / 318.6 MB, free: 4.762 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.2441, allocations: 48.06 MB / 366.7 MB, free: 45.88 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06997/0.3141, allocations: 76.91 MB / 443.6 MB, free: 6.246 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001656/0.3143, allocations: 71.95 kB / 443.7 MB, free: 6.176 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.01918/0.3335, allocations: 7.722 MB / 451.4 MB, free: 14.43 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.3335, allocations: 8 kB / 451.4 MB, free: 14.42 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.066e-05/0.3336, allocations: 43.53 kB / 451.4 MB, free: 14.38 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.3339, allocations: 298 kB / 451.7 MB, free: 14.05 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.334, allocations: 13.41 kB / 451.7 MB, free: 14.04 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.334, allocations: 24 kB / 451.8 MB, free: 14.02 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004096/0.3344, allocations: 217.3 kB / 452 MB, free: 13.8 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.3349, allocations: 248.7 kB / 452.2 MB, free: 13.55 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3349, allocations: 0 / 452.2 MB, free: 13.55 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.3349, allocations: 0 / 452.2 MB, free: 13.55 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3349, allocations: 11.91 kB / 452.2 MB, free: 13.54 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.3366, allocations: 1.046 MB / 453.3 MB, free: 12.45 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.337, allocations: 231.8 kB / 453.5 MB, free: 12.22 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.3372, allocations: 100.9 kB / 453.6 MB, free: 12.12 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.3373, allocations: 4 kB / 453.6 MB, free: 12.11 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.3375, allocations: 131.3 kB / 453.7 MB, free: 11.97 MB / 346.8 MB Notification: Performance of pre-optimization done (n=25): time 1.413e-06/0.3375, allocations: 0 / 453.7 MB, free: 11.97 MB / 346.8 MB Notification: Performance of matching and sorting (n=25): time 0.0005673/0.338, allocations: 255.8 kB / 454 MB, free: 11.71 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.3381, allocations: 59.33 kB / 454.1 MB, free: 11.64 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.3383, allocations: 232.4 kB / 454.3 MB, free: 11.42 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.3383, allocations: 25.7 kB / 454.3 MB, free: 11.39 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3385, allocations: 187.9 kB / 454.5 MB, free: 11.2 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/0.3385, allocations: 82.81 kB / 454.6 MB, free: 11.12 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.3386, allocations: 0 / 454.6 MB, free: 11.12 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3387, allocations: 330.8 kB / 454.9 MB, free: 10.79 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3388, allocations: 80 kB / 455 MB, free: 10.71 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.339, allocations: 126 kB / 455.1 MB, free: 10.56 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.3392, allocations: 99.95 kB / 455.2 MB, free: 10.46 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3392, allocations: 4 kB / 455.2 MB, free: 10.46 MB / 346.8 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005721/0.3398, allocations: 326.1 kB / 455.5 MB, free: 10.13 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.34, allocations: 0.6059 MB / 456.1 MB, free: 9.48 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3401, allocations: 11.88 kB / 456.1 MB, free: 9.469 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005582/0.3406, allocations: 112.8 kB / 456.2 MB, free: 9.355 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.3408, allocations: 47.97 kB / 456.3 MB, free: 9.309 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007614/0.3416, allocations: 0.72 MB / 457 MB, free: 8.562 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.3419, allocations: 43.73 kB / 457 MB, free: 8.52 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.3419, allocations: 9.797 kB / 457.1 MB, free: 8.512 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.3419, allocations: 4 kB / 457.1 MB, free: 8.508 MB / 346.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006973/0.3426, allocations: 288.6 kB / 457.3 MB, free: 8.223 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.3427, allocations: 0 / 457.3 MB, free: 8.223 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/0.343, allocations: 94.58 kB / 457.4 MB, free: 8.129 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.3433, allocations: 55.91 kB / 457.5 MB, free: 8.074 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.3452, allocations: 1.782 MB / 459.3 MB, free: 6.172 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.3454, allocations: 23.83 kB / 459.3 MB, free: 6.148 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.3455, allocations: 13.31 kB / 459.3 MB, free: 6.137 MB / 346.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: standardPatient.valve_in.pout:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Leaving pressure, relative" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.3456, allocations: 128.9 kB / 459.4 MB, free: 6.008 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.3456, allocations: 23.72 kB / 459.5 MB, free: 5.984 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006792/0.3463, allocations: 306.6 kB / 459.8 MB, free: 5.676 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3463, allocations: 4 kB / 459.8 MB, free: 5.672 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.3464, allocations: 0 / 459.8 MB, free: 5.672 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3464, allocations: 0 / 459.8 MB, free: 5.672 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.3467, allocations: 357.5 kB / 460.1 MB, free: 5.285 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3467, allocations: 0 / 460.1 MB, free: 5.285 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.3469, allocations: 31.97 kB / 460.1 MB, free: 5.254 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005277/0.3474, allocations: 130.2 kB / 460.3 MB, free: 5.125 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.3474, allocations: 0 / 460.3 MB, free: 5.125 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006157/0.3481, allocations: 0.717 MB / 461 MB, free: 4.383 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3481, allocations: 0 / 461 MB, free: 4.383 MB / 346.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007445/0.3488, allocations: 421.5 kB / 461.4 MB, free: 3.949 MB / 346.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009878/0.3498, allocations: 0.8933 MB / 462.3 MB, free: 3.031 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.35, allocations: 140.6 kB / 462.4 MB, free: 2.875 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.35, allocations: 0 / 462.4 MB, free: 2.875 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.3503, allocations: 17.2 kB / 462.4 MB, free: 2.859 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.3503, allocations: 19.97 kB / 462.5 MB, free: 2.84 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3504, allocations: 11.98 kB / 462.5 MB, free: 2.828 MB / 346.8 MB Notification: Performance of sort global known variables: time 0.0001434/0.3505, allocations: 179.1 kB / 462.7 MB, free: 2.652 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.00158/0.3521, allocations: 183.4 kB / 462.8 MB, free: 2.473 MB / 346.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (standardPatient.compliance.p,standardPatient.compliance.V,standardPatient.compliance.Vb) * 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 (15): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001246/0.3522, allocations: 107.2 kB / 462.9 MB, free: 2.359 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.000905/0.3531, allocations: 0.515 MB / 463.4 MB, free: 1.824 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3531, allocations: 0 / 463.4 MB, free: 1.824 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.3534, allocations: 114.1 kB / 463.6 MB, free: 1.715 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.3536, allocations: 23.03 kB / 463.6 MB, free: 1.691 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3548, allocations: 0.601 MB / 464.2 MB, free: 1.062 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/0.3551, allocations: 0.819 MB / 465 MB, free: 224 kB / 346.8 MB Notification: Performance of SimCode: time 2.91e-07/0.3551, allocations: 0 / 465 MB, free: 224 kB / 346.8 MB (rm -f MEV_MEV.Test.TestStandardPatient.pipe ; mkfifo MEV_MEV.Test.TestStandardPatient.pipe ; head -c 1048576 < MEV_MEV.Test.TestStandardPatient.pipe >> ../files/MEV_MEV.Test.TestStandardPatient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestStandardPatient_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestStandardPatient.fmu > MEV_MEV.Test.TestStandardPatient.pipe 2>&1)