Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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/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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 289.8 MB / 297.1 MB, free: 9.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 191.4 kB / 366.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.1 MB / 0.6256 GB, free: 2.254 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 79.38 kB / 0.7395 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.6525/0.6537, allocations: 122.4 MB / 0.8591 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.919, allocations: 116.3 MB / 0.9726 GB, free: 54.33 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.934, allocations: 404.5 MB / 1.368 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/1.934, allocations: 86.75 kB / 1.368 GB, free: 11.86 MB / 0.8731 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.499/4.433, allocations: 0.6881 GB / 2.056 GB, free: 117 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/4.433, allocations: 8 kB / 2.056 GB, free: 117 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/4.435, allocations: 301.2 kB / 2.056 GB, free: 116.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006555/4.441, allocations: 2.555 MB / 2.059 GB, free: 114.1 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/4.441, allocations: 32 kB / 2.059 GB, free: 114.1 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/4.442, allocations: 64 kB / 2.059 GB, free: 114 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001472/4.443, allocations: 0.8474 MB / 2.06 GB, free: 113.2 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/4.444, allocations: 1.088 MB / 2.061 GB, free: 112 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/4.444, allocations: 3.938 kB / 2.061 GB, free: 112 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/4.445, allocations: 4 kB / 2.061 GB, free: 112 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/4.445, allocations: 24 kB / 2.061 GB, free: 112 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007421/4.452, allocations: 6.567 MB / 2.067 GB, free: 105 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/4.453, allocations: 0.5699 MB / 2.068 GB, free: 104.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/4.453, allocations: 374 kB / 2.068 GB, free: 104.1 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002544/4.456, allocations: 1.665 MB / 2.07 GB, free: 102.3 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003926/4.456, allocations: 324.3 kB / 2.07 GB, free: 102 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 3.226e-06/4.456, allocations: 0 / 2.07 GB, free: 102 MB / 0.9512 GB Notification: Performance of matching and sorting (n=47): time 0.001839/4.458, allocations: 0.8371 MB / 2.071 GB, free: 101.1 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/4.458, allocations: 55.84 kB / 2.071 GB, free: 101.1 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/4.46, allocations: 1.383 MB / 2.072 GB, free: 99.69 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/4.46, allocations: 29.7 kB / 2.072 GB, free: 99.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/4.46, allocations: 0.5332 MB / 2.073 GB, free: 99.11 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/4.46, allocations: 169.6 kB / 2.073 GB, free: 98.95 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/4.46, allocations: 4 kB / 2.073 GB, free: 98.94 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/4.46, allocations: 334 kB / 2.073 GB, free: 98.61 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/4.461, allocations: 257.7 kB / 2.073 GB, free: 98.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/4.461, allocations: 0.6971 MB / 2.074 GB, free: 97.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009341/4.462, allocations: 422.9 kB / 2.075 GB, free: 97.03 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/4.462, allocations: 0 / 2.075 GB, free: 97.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002126/4.464, allocations: 1.135 MB / 2.076 GB, free: 95.89 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009627/4.465, allocations: 4.076 MB / 2.08 GB, free: 91.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/4.465, allocations: 12 kB / 2.08 GB, free: 91.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/4.466, allocations: 128.7 kB / 2.08 GB, free: 91.33 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/4.466, allocations: 179.7 kB / 2.08 GB, free: 91.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006118/4.467, allocations: 0.8021 MB / 2.081 GB, free: 90.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/4.469, allocations: 123.1 kB / 2.081 GB, free: 90.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/4.469, allocations: 55.92 kB / 2.081 GB, free: 90.15 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/4.469, allocations: 5.562 kB / 2.081 GB, free: 90.14 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001814/4.471, allocations: 0.9385 MB / 2.082 GB, free: 89.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/4.471, allocations: 8 kB / 2.082 GB, free: 89.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/4.471, allocations: 115 kB / 2.082 GB, free: 89.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/4.471, allocations: 172 kB / 2.082 GB, free: 88.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/4.473, allocations: 1.983 MB / 2.084 GB, free: 86.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/4.474, allocations: 103.4 kB / 2.084 GB, free: 86.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.807e-05/4.474, allocations: 47.98 kB / 2.084 GB, free: 86.66 MB / 0.9512 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.0002274/4.475, allocations: 136.6 kB / 2.084 GB, free: 86.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/4.475, allocations: 161.9 kB / 2.084 GB, free: 86.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/4.477, allocations: 0.9963 MB / 2.085 GB, free: 85.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/4.477, allocations: 4 kB / 2.085 GB, free: 85.35 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/4.477, allocations: 0 / 2.085 GB, free: 85.35 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/4.478, allocations: 0.8999 MB / 2.086 GB, free: 84.39 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/4.482, allocations: 1.935 MB / 2.088 GB, free: 82.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/4.482, allocations: 3.984 kB / 2.088 GB, free: 82.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/4.482, allocations: 95.92 kB / 2.088 GB, free: 82.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/4.483, allocations: 101 kB / 2.088 GB, free: 82.22 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/4.483, allocations: 19.91 kB / 2.088 GB, free: 82.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005764/4.483, allocations: 0.7448 MB / 2.089 GB, free: 81.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/4.483, allocations: 3.938 kB / 2.089 GB, free: 81.43 MB / 0.9512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001937/4.485, allocations: 1.31 MB / 2.09 GB, free: 80.09 MB / 0.9512 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002309/4.488, allocations: 2.095 MB / 2.092 GB, free: 77.95 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007161/4.488, allocations: 310.8 kB / 2.093 GB, free: 77.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/4.489, allocations: 0 / 2.093 GB, free: 77.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008223/4.489, allocations: 75.84 kB / 2.093 GB, free: 77.55 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/4.49, allocations: 44.27 kB / 2.093 GB, free: 77.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-05/4.49, allocations: 23.98 kB / 2.093 GB, free: 77.49 MB / 0.9512 GB Notification: Performance of sort global known variables: time 0.00142/4.491, allocations: 1.064 MB / 2.094 GB, free: 76.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004773/4.496, allocations: 1.022 MB / 2.095 GB, free: 75.41 MB / 0.9512 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.001602/4.497, allocations: 0.7612 MB / 2.096 GB, free: 74.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00214/4.5, allocations: 1.309 MB / 2.097 GB, free: 73.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/4.5, allocations: 0 / 2.097 GB, free: 73.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004309/4.5, allocations: 309.4 kB / 2.097 GB, free: 73.06 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/4.503, allocations: 0.6021 MB / 2.098 GB, free: 72.48 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/4.507, allocations: 2.283 MB / 2.1 GB, free: 70.14 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/4.508, allocations: 1.669 MB / 2.102 GB, free: 68.44 MB / 0.9512 GB Notification: Performance of SimCode: time 1.082e-06/4.508, allocations: 0 / 2.102 GB, free: 68.44 MB / 0.9512 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)