Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",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.344/2.344, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001667/0.001667, allocations: 181.3 kB / 360.3 MB, free: 7.543 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.855/1.855, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001245/0.001244, allocations: 83.41 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2869/0.2882, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6771/0.9653, allocations: 115.2 MB / 0.9627 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/2.096, allocations: 423 MB / 1.376 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/2.096, allocations: 90 kB / 1.376 GB, free: 143 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 3.271/5.368, allocations: 0.6156 GB / 1.991 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/5.368, allocations: 11.25 kB / 1.991 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005612/5.373, allocations: 420.4 kB / 1.992 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007411/5.381, allocations: 1.312 MB / 1.993 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/5.382, allocations: 185.6 kB / 1.993 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004565/5.383, allocations: 67.03 kB / 1.993 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002534/5.385, allocations: 0.7521 MB / 1.994 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/5.387, allocations: 0.9133 MB / 1.995 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/5.388, allocations: 0 / 1.995 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/5.388, allocations: 0 / 1.995 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/5.388, allocations: 23.22 kB / 1.995 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/5.399, allocations: 4.632 MB / 2 GB, free: 153 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/5.401, allocations: 0.5873 MB / 2 GB, free: 153 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007852/5.402, allocations: 325.1 kB / 2 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/5.403, allocations: 1.065 MB / 2.001 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/5.404, allocations: 404.5 kB / 2.002 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 3.647e-06/5.404, allocations: 0 / 2.002 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.003292/5.408, allocations: 0.8193 MB / 2.003 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/5.408, allocations: 196 kB / 2.003 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/5.41, allocations: 0.8552 MB / 2.004 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002826/5.41, allocations: 28.3 kB / 2.004 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/5.41, allocations: 411.4 kB / 2.004 GB, free: 151 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/5.411, allocations: 242.8 kB / 2.004 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/5.411, allocations: 0 / 2.004 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.569e-05/5.411, allocations: 349.5 kB / 2.005 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000922/5.412, allocations: 311 kB / 2.005 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/5.413, allocations: 0.5824 MB / 2.006 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/5.415, allocations: 481.7 kB / 2.006 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/5.415, allocations: 0 / 2.006 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004044/5.419, allocations: 1.079 MB / 2.007 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003757/5.42, allocations: 1.584 MB / 2.009 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/5.42, allocations: 5.969 kB / 2.009 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.451e-05/5.42, allocations: 10.72 kB / 2.009 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/5.423, allocations: 311.8 kB / 2.009 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/5.424, allocations: 1.219 MB / 2.01 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003553/5.428, allocations: 182 kB / 2.01 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005994/5.428, allocations: 55.83 kB / 2.01 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/5.428, allocations: 8.406 kB / 2.01 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007087/5.436, allocations: 0.9121 MB / 2.011 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.245e-05/5.436, allocations: 3.781 kB / 2.011 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/5.436, allocations: 11.53 kB / 2.011 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003993/5.44, allocations: 295.4 kB / 2.012 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.747e-05/5.44, allocations: 8.844 kB / 2.012 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/5.443, allocations: 173.9 kB / 2.012 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003327/5.444, allocations: 61.19 kB / 2.012 GB, free: 147.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004097/5.444, allocations: 135 kB / 2.012 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/5.445, allocations: 131.9 kB / 2.012 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004481/5.449, allocations: 1.116 MB / 2.013 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/5.449, allocations: 15.69 kB / 2.013 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/5.449, allocations: 3.906 kB / 2.013 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/5.449, allocations: 3.75 kB / 2.013 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006687/5.456, allocations: 2.23 MB / 2.015 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/5.456, allocations: 7.531 kB / 2.015 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/5.458, allocations: 238.2 kB / 2.016 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/5.458, allocations: 3.719 kB / 2.016 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/5.458, allocations: 23.12 kB / 2.016 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006143/5.459, allocations: 1.195 MB / 2.017 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/5.459, allocations: 2.25 kB / 2.017 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004724/5.464, allocations: 1.673 MB / 2.018 GB, free: 145 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006378/5.47, allocations: 2.588 MB / 2.021 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/5.471, allocations: 348.5 kB / 2.021 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/5.472, allocations: 7.844 kB / 2.021 GB, free: 144 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003815/5.475, allocations: 127.4 kB / 2.021 GB, free: 144 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/5.476, allocations: 64.44 kB / 2.021 GB, free: 144 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/5.476, allocations: 40.28 kB / 2.021 GB, free: 144 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001429/5.477, allocations: 0.6402 MB / 2.022 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006842/5.484, allocations: 1.082 MB / 2.023 GB, free: 143.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002799/5.487, allocations: 0.8826 MB / 2.024 GB, free: 143.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004815/5.492, allocations: 1.515 MB / 2.025 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/5.492, allocations: 3.844 kB / 2.025 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/5.494, allocations: 480.4 kB / 2.026 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004369/5.498, allocations: 459.3 kB / 2.026 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/5.505, allocations: 1.871 MB / 2.028 GB, free: 142.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/5.507, allocations: 1.345 MB / 2.03 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.914e-06/5.507, allocations: 3.844 kB / 2.03 GB, free: 142.1 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)