Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",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 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009698/0.0009701, allocations: 177.2 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008263/0.0008262, allocations: 83.34 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3484/0.3493, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.5303, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.323/4.853, allocations: 2.5 GB / 3.385 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/4.853, allocations: 95.94 kB / 3.385 GB, free: 248.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 4.83/9.684, allocations: 1.625 GB / 5.01 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/9.684, allocations: 10.59 kB / 5.01 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005576/9.689, allocations: 0.7777 MB / 5.01 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007566/9.697, allocations: 2.835 MB / 5.013 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/9.697, allocations: 58.66 kB / 5.013 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008296/9.698, allocations: 115.9 kB / 5.013 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003655/9.702, allocations: 1.789 MB / 5.015 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/9.705, allocations: 1.98 MB / 5.017 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/9.705, allocations: 3.906 kB / 5.017 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/9.705, allocations: 3.625 kB / 5.017 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.555e-05/9.705, allocations: 82.38 kB / 5.017 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/9.72, allocations: 9.825 MB / 5.027 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/9.722, allocations: 1.144 MB / 5.028 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007041/9.723, allocations: 0.6185 MB / 5.028 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003849/9.726, allocations: 2.482 MB / 5.031 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/9.727, allocations: 47.25 kB / 5.031 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=104): time 2.565e-06/9.727, allocations: 0 / 5.031 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=106): time 0.007506/9.734, allocations: 3.184 MB / 5.034 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/9.734, allocations: 60.75 kB / 5.034 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/9.736, allocations: 1.445 MB / 5.035 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-05/9.736, allocations: 32.39 kB / 5.035 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/9.737, allocations: 0.8188 MB / 5.036 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/9.737, allocations: 357.8 kB / 5.037 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/9.737, allocations: 2.969 kB / 5.037 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001054/9.737, allocations: 359.6 kB / 5.037 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/9.738, allocations: 470.4 kB / 5.037 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009275/9.739, allocations: 1.03 MB / 5.038 GB, free: 99.53 MB / 0.9323 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02039/9.759, allocations: 3.345 MB / 5.042 GB, free: 99.41 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/9.759, allocations: 3.375 kB / 5.042 GB, free: 99.41 MB / 0.9323 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00418/9.763, allocations: 1.83 MB / 5.043 GB, free: 99.24 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000887/9.764, allocations: 5.877 MB / 5.049 GB, free: 93.17 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/9.764, allocations: 13.03 kB / 5.049 GB, free: 93.17 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/9.766, allocations: 371.2 kB / 5.05 GB, free: 93.16 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/9.767, allocations: 294.3 kB / 5.05 GB, free: 93.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/9.768, allocations: 1.044 MB / 5.051 GB, free: 92.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/9.771, allocations: 132 kB / 5.051 GB, free: 92.62 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/9.771, allocations: 79.92 kB / 5.051 GB, free: 92.62 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/9.771, allocations: 5.594 kB / 5.051 GB, free: 92.62 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003631/9.775, allocations: 1.576 MB / 5.053 GB, free: 92.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/9.775, allocations: 15.59 kB / 5.053 GB, free: 92.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/9.776, allocations: 371.9 kB / 5.053 GB, free: 92.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/9.777, allocations: 296.4 kB / 5.053 GB, free: 92.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/9.778, allocations: 1.049 MB / 5.054 GB, free: 92.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/9.781, allocations: 108.4 kB / 5.054 GB, free: 92.03 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/9.781, allocations: 83.17 kB / 5.054 GB, free: 92.03 MB / 0.9323 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * 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 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004786/9.781, allocations: 149.1 kB / 5.055 GB, free: 91.93 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/9.782, allocations: 211.5 kB / 5.055 GB, free: 91.82 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003433/9.785, allocations: 1.494 MB / 5.056 GB, free: 91.72 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/9.785, allocations: 16.64 kB / 5.056 GB, free: 91.72 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/9.785, allocations: 6.781 kB / 5.056 GB, free: 91.71 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002208/9.788, allocations: 1.144 MB / 5.057 GB, free: 91.62 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005829/9.793, allocations: 3.529 MB / 5.061 GB, free: 91 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/9.793, allocations: 7.469 kB / 5.061 GB, free: 91 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008931/9.794, allocations: 192.3 kB / 5.061 GB, free: 91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/9.796, allocations: 327.7 kB / 5.061 GB, free: 90.98 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.066e-05/9.796, allocations: 18.27 kB / 5.061 GB, free: 90.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008102/9.797, allocations: 0.9795 MB / 5.062 GB, free: 90.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/9.797, allocations: 11.47 kB / 5.062 GB, free: 90.46 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002792/9.799, allocations: 2.644 MB / 5.065 GB, free: 89.29 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004088/9.803, allocations: 3.877 MB / 5.069 GB, free: 87.73 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/9.805, allocations: 419.2 kB / 5.069 GB, free: 87.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/9.805, allocations: 10.72 kB / 5.069 GB, free: 87.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/9.806, allocations: 75.16 kB / 5.069 GB, free: 87.52 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/9.806, allocations: 72.41 kB / 5.069 GB, free: 87.52 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/9.806, allocations: 57.67 kB / 5.069 GB, free: 87.51 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001509/9.808, allocations: 1.076 MB / 5.07 GB, free: 87.37 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005937/9.814, allocations: 2.2 MB / 5.072 GB, free: 87.32 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.005214/9.819, allocations: 3.893 MB / 5.076 GB, free: 85.84 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003982/9.823, allocations: 2.014 MB / 5.078 GB, free: 85.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/9.823, allocations: 5.781 kB / 5.078 GB, free: 85.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/9.824, allocations: 0.5359 MB / 5.079 GB, free: 85.79 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005193/9.829, allocations: 1.07 MB / 5.08 GB, free: 85.77 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009186/9.839, allocations: 3.992 MB / 5.084 GB, free: 84.77 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/9.84, allocations: 1.93 MB / 5.086 GB, free: 84.03 MB / 0.9323 GB Notification: Performance of SimCode: time 1.734e-06/9.84, allocations: 0 / 5.086 GB, free: 84.03 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)