Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",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 4.0.0+maint.om/package.mo): time 0.004286/0.004286, allocations: 179.5 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7296/0.7296, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009682, allocations: 106.6 kB / 477.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5373/0.5384, allocations: 88.41 MB / 0.5529 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.7736, allocations: 82.31 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.546/2.32, allocations: 363.9 MB / 0.9886 GB, free: 260.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004682/2.32, allocations: 88 kB / 0.9887 GB, free: 260.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 2.6/4.92, allocations: 0.7031 GB / 1.692 GB, free: 78.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/4.921, allocations: 15.94 kB / 1.692 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/4.923, allocations: 292.5 kB / 1.692 GB, free: 78.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006944/4.93, allocations: 2.56 MB / 1.695 GB, free: 76.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/4.93, allocations: 35.91 kB / 1.695 GB, free: 76.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/4.93, allocations: 64 kB / 1.695 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001475/4.931, allocations: 0.8513 MB / 1.696 GB, free: 75.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/4.933, allocations: 1.088 MB / 1.697 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/4.933, allocations: 0 / 1.697 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/4.933, allocations: 4 kB / 1.697 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/4.933, allocations: 24 kB / 1.697 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006959/4.94, allocations: 6.558 MB / 1.703 GB, free: 67.12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/4.941, allocations: 0.5704 MB / 1.704 GB, free: 66.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/4.941, allocations: 370.8 kB / 1.704 GB, free: 66.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003781/4.945, allocations: 1.68 MB / 1.706 GB, free: 64.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004595/4.945, allocations: 323.3 kB / 1.706 GB, free: 64.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.647e-06/4.945, allocations: 0 / 1.706 GB, free: 64.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.002405/4.948, allocations: 0.8375 MB / 1.707 GB, free: 63.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/4.948, allocations: 59.84 kB / 1.707 GB, free: 63.15 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/4.951, allocations: 1.38 MB / 1.708 GB, free: 61.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/4.951, allocations: 29.7 kB / 1.708 GB, free: 61.74 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000624/4.951, allocations: 0.5431 MB / 1.709 GB, free: 61.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/4.952, allocations: 165.5 kB / 1.709 GB, free: 61.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/4.952, allocations: 0 / 1.709 GB, free: 61.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001177/4.952, allocations: 342 kB / 1.709 GB, free: 60.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/4.952, allocations: 261.4 kB / 1.709 GB, free: 60.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/4.953, allocations: 0.6897 MB / 1.71 GB, free: 59.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/4.954, allocations: 428.2 kB / 1.711 GB, free: 59.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/4.954, allocations: 0 / 1.711 GB, free: 59.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00237/4.956, allocations: 1.147 MB / 1.712 GB, free: 58.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001484/4.958, allocations: 4.068 MB / 1.716 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/4.958, allocations: 14.62 kB / 1.716 GB, free: 53.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/4.958, allocations: 126 kB / 1.716 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/4.959, allocations: 178.7 kB / 1.716 GB, free: 53.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000725/4.96, allocations: 0.806 MB / 1.717 GB, free: 52.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/4.962, allocations: 125.8 kB / 1.717 GB, free: 52.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/4.962, allocations: 51.97 kB / 1.717 GB, free: 52.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/4.962, allocations: 7.531 kB / 1.717 GB, free: 52.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001903/4.964, allocations: 0.9306 MB / 1.718 GB, free: 51.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/4.964, allocations: 8 kB / 1.718 GB, free: 51.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/4.964, allocations: 120.1 kB / 1.718 GB, free: 51.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/4.965, allocations: 170.8 kB / 1.718 GB, free: 51.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/4.966, allocations: 1.983 MB / 1.72 GB, free: 49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/4.968, allocations: 101.4 kB / 1.72 GB, free: 48.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-05/4.968, allocations: 47.98 kB / 1.72 GB, free: 48.86 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.000293/4.968, allocations: 141 kB / 1.72 GB, free: 48.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/4.968, allocations: 165.8 kB / 1.72 GB, free: 48.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/4.971, allocations: 0.9858 MB / 1.721 GB, free: 47.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/4.971, allocations: 4 kB / 1.721 GB, free: 47.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/4.971, allocations: 3.984 kB / 1.721 GB, free: 47.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/4.972, allocations: 0.8937 MB / 1.722 GB, free: 46.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/4.975, allocations: 1.943 MB / 1.724 GB, free: 44.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/4.975, allocations: 3.984 kB / 1.724 GB, free: 44.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004971/4.976, allocations: 103.1 kB / 1.724 GB, free: 44.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002023/4.976, allocations: 92.8 kB / 1.724 GB, free: 44.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/4.976, allocations: 19.89 kB / 1.724 GB, free: 44.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004377/4.976, allocations: 0.7602 MB / 1.725 GB, free: 43.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/4.976, allocations: 0 / 1.725 GB, free: 43.67 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001665/4.978, allocations: 1.299 MB / 1.726 GB, free: 42.34 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002183/4.98, allocations: 2.086 MB / 1.728 GB, free: 40.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006729/4.981, allocations: 318.5 kB / 1.729 GB, free: 39.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/4.981, allocations: 0 / 1.729 GB, free: 39.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/4.982, allocations: 70.36 kB / 1.729 GB, free: 39.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/4.982, allocations: 40.38 kB / 1.729 GB, free: 39.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/4.982, allocations: 23.97 kB / 1.729 GB, free: 39.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001325/4.983, allocations: 1.071 MB / 1.73 GB, free: 38.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004324/4.988, allocations: 1.034 MB / 1.731 GB, free: 37.69 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001541/4.989, allocations: 0.7728 MB / 1.732 GB, free: 37.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002305/4.992, allocations: 1.299 MB / 1.733 GB, free: 35.74 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/4.992, allocations: 4 kB / 1.733 GB, free: 35.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004403/4.992, allocations: 305.3 kB / 1.733 GB, free: 35.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/4.995, allocations: 0.6001 MB / 1.734 GB, free: 34.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/4.999, allocations: 2.29 MB / 1.736 GB, free: 32.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/5, allocations: 1.663 MB / 1.738 GB, free: 30.94 MB / 0.6823 GB Notification: Performance of SimCode: time 1.633e-06/5, allocations: 0 / 1.738 GB, free: 30.94 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example3.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)