Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1",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.0.0/package.mo): time 2.528/2.528, allocations: 284.8 MB / 292.1 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001696/0.001696, allocations: 189.2 kB / 360.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.1 MB / 0.6187 GB, free: 13.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 97.47 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2869/0.2882, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.968, allocations: 115.2 MB / 0.9627 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/2.084, allocations: 420.5 MB / 1.373 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/2.084, allocations: 97.84 kB / 1.373 GB, free: 142.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 5.848/7.932, allocations: 1.311 GB / 2.684 GB, free: 35.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/7.932, allocations: 12.5 kB / 2.684 GB, free: 35.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/7.937, allocations: 0.5579 MB / 2.685 GB, free: 34.78 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02157/7.959, allocations: 4.337 MB / 2.689 GB, free: 30.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/7.959, allocations: 55.91 kB / 2.689 GB, free: 30.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007447/7.96, allocations: 120 kB / 2.689 GB, free: 30.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005458/7.965, allocations: 1.634 MB / 2.691 GB, free: 28.57 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005512/7.971, allocations: 1.833 MB / 2.693 GB, free: 26.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.845e-05/7.971, allocations: 7.938 kB / 2.693 GB, free: 26.59 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/7.971, allocations: 4 kB / 2.693 GB, free: 26.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-05/7.971, allocations: 41.44 kB / 2.693 GB, free: 26.55 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02332/7.995, allocations: 11.52 MB / 2.704 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/7.998, allocations: 1.211 MB / 2.705 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/8, allocations: 0.9104 MB / 2.706 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009514/8.009, allocations: 3.362 MB / 2.709 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/8.011, allocations: 0.6525 MB / 2.71 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=98): time 4.999e-06/8.011, allocations: 3.938 kB / 2.71 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of matching and sorting (n=98): time 0.008016/8.019, allocations: 2.022 MB / 2.712 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/8.019, allocations: 68.19 kB / 2.712 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005807/8.025, allocations: 2.228 MB / 2.714 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004351/8.025, allocations: 29.7 kB / 2.714 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/8.027, allocations: 0.843 MB / 2.715 GB, free: 2.719 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006996/8.027, allocations: 335.1 kB / 2.716 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/8.027, allocations: 0 / 2.716 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001325/8.028, allocations: 365.9 kB / 2.716 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/8.029, allocations: 0.5506 MB / 2.716 GB, free: 1.473 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4023/8.431, allocations: 1.299 MB / 2.718 GB, free: 228.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00376/8.435, allocations: 0.8549 MB / 2.718 GB, free: 228.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.037e-05/8.435, allocations: 7.688 kB / 2.719 GB, free: 228.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.009101/8.444, allocations: 2.469 MB / 2.721 GB, free: 228.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001566/8.446, allocations: 5.894 MB / 2.727 GB, free: 222.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.177e-05/8.446, allocations: 11.72 kB / 2.727 GB, free: 222.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/8.448, allocations: 447.2 kB / 2.727 GB, free: 222.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/8.451, allocations: 289.3 kB / 2.727 GB, free: 222.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/8.454, allocations: 2.07 MB / 2.729 GB, free: 221.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004584/8.459, allocations: 219.2 kB / 2.73 GB, free: 221.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004296/8.459, allocations: 84.66 kB / 2.73 GB, free: 221.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/8.459, allocations: 6.25 kB / 2.73 GB, free: 221.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006821/8.466, allocations: 2.067 MB / 2.732 GB, free: 221.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/8.466, allocations: 14.41 kB / 2.732 GB, free: 221.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/8.468, allocations: 409.7 kB / 2.732 GB, free: 221.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/8.47, allocations: 286.4 kB / 2.732 GB, free: 221.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/8.481, allocations: 5.375 MB / 2.738 GB, free: 218.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003979/8.485, allocations: 188.4 kB / 2.738 GB, free: 218.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003521/8.485, allocations: 80.45 kB / 2.738 GB, free: 218.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005476/8.486, allocations: 160.4 kB / 2.738 GB, free: 218.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008266/8.487, allocations: 279.2 kB / 2.738 GB, free: 218.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008254/8.495, allocations: 2.343 MB / 2.741 GB, free: 218.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/8.495, allocations: 10.88 kB / 2.741 GB, free: 218.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/8.495, allocations: 0 / 2.741 GB, free: 218.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005118/8.5, allocations: 1.914 MB / 2.742 GB, free: 218 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/8.512, allocations: 3.916 MB / 2.746 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/8.512, allocations: 0 / 2.746 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/8.514, allocations: 187 kB / 2.746 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/8.515, allocations: 394.4 kB / 2.747 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/8.515, allocations: 24.52 kB / 2.747 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/8.518, allocations: 1.905 MB / 2.749 GB, free: 216.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/8.518, allocations: 0 / 2.749 GB, free: 216.5 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008368/8.527, allocations: 2.906 MB / 2.752 GB, free: 216 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01106/8.538, allocations: 4.151 MB / 2.756 GB, free: 215.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/8.54, allocations: 499.9 kB / 2.756 GB, free: 214.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/8.541, allocations: 3.75 kB / 2.756 GB, free: 214.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003048/8.544, allocations: 124 kB / 2.756 GB, free: 214.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/8.545, allocations: 80.39 kB / 2.756 GB, free: 214.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/8.545, allocations: 44.92 kB / 2.756 GB, free: 214.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003832/8.549, allocations: 1.706 MB / 2.758 GB, free: 214.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01022/8.559, allocations: 1.639 MB / 2.76 GB, free: 214.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002768/8.562, allocations: 1.044 MB / 2.761 GB, free: 214.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007422/8.569, allocations: 2.715 MB / 2.763 GB, free: 214.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/8.569, allocations: 0 / 2.763 GB, free: 214.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/8.571, allocations: 0.6862 MB / 2.764 GB, free: 214.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009261/8.58, allocations: 1.029 MB / 2.765 GB, free: 214.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/8.595, allocations: 4.056 MB / 2.769 GB, free: 213.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003565/8.598, allocations: 2.341 MB / 2.771 GB, free: 212.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.713e-06/8.598, allocations: 3.828 kB / 2.771 GB, free: 212.5 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)