Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 289.8 MB / 297.1 MB, free: 6.73 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.00144/0.00144, allocations: 181.2 kB / 366.3 MB, free: 2.031 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.533/1.533, allocations: 205.1 MB / 0.6256 GB, free: 5.859 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.0009324/0.0009324, allocations: 89.62 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2628/0.2638, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6686/0.9325, allocations: 116.3 MB / 0.9727 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.531/6.464, allocations: 2.383 GB / 3.356 GB, free: 67.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/6.464, allocations: 107.9 kB / 3.356 GB, free: 67.36 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 6.536/13, allocations: 1.671 GB / 5.027 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/13, allocations: 17.03 kB / 5.027 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006832/13.01, allocations: 0.7844 MB / 5.028 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/13.02, allocations: 2.813 MB / 5.031 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/13.02, allocations: 59.53 kB / 5.031 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/13.02, allocations: 112.5 kB / 5.031 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0034/13.02, allocations: 1.785 MB / 5.032 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003248/13.02, allocations: 1.974 MB / 5.034 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/13.02, allocations: 4.938 kB / 5.034 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/13.03, allocations: 0 / 5.034 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.512e-05/13.03, allocations: 77.72 kB / 5.034 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/13.04, allocations: 9.807 MB / 5.044 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/13.04, allocations: 1.16 MB / 5.045 GB, free: 100.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007664/13.04, allocations: 0.6261 MB / 5.046 GB, free: 100.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003909/13.05, allocations: 2.477 MB / 5.048 GB, free: 99.53 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/13.05, allocations: 48.16 kB / 5.048 GB, free: 99.49 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=104): time 2.755e-06/13.05, allocations: 1.203 kB / 5.048 GB, free: 99.49 MB / 0.9948 GB Notification: Performance of matching and sorting (n=106): time 0.00829/13.05, allocations: 3.198 MB / 5.051 GB, free: 98.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/13.05, allocations: 66.25 kB / 5.051 GB, free: 98.64 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/13.06, allocations: 1.432 MB / 5.053 GB, free: 98.43 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/13.06, allocations: 28.77 kB / 5.053 GB, free: 98.39 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/13.06, allocations: 0.8112 MB / 5.054 GB, free: 97.94 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003512/13.06, allocations: 357.8 kB / 5.054 GB, free: 97.71 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/13.06, allocations: 0 / 5.054 GB, free: 97.71 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/13.06, allocations: 368 kB / 5.054 GB, free: 97.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/13.06, allocations: 478.9 kB / 5.055 GB, free: 97.39 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008726/13.06, allocations: 1.032 MB / 5.056 GB, free: 96.7 MB / 0.9948 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.02097/13.08, allocations: 3.36 MB / 5.059 GB, free: 96.59 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/13.08, allocations: 10.12 kB / 5.059 GB, free: 96.58 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004462/13.08, allocations: 1.845 MB / 5.061 GB, free: 96.41 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009897/13.09, allocations: 5.868 MB / 5.067 GB, free: 90.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/13.09, allocations: 19 kB / 5.067 GB, free: 90.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/13.09, allocations: 364.8 kB / 5.067 GB, free: 90.33 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/13.09, allocations: 305.2 kB / 5.067 GB, free: 90.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/13.09, allocations: 1.05 MB / 5.068 GB, free: 89.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/13.09, allocations: 128.2 kB / 5.068 GB, free: 89.78 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/13.09, allocations: 77.48 kB / 5.069 GB, free: 89.78 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/13.09, allocations: 3.25 kB / 5.069 GB, free: 89.78 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00357/13.1, allocations: 1.575 MB / 5.07 GB, free: 89.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/13.1, allocations: 14.44 kB / 5.07 GB, free: 89.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/13.1, allocations: 373.9 kB / 5.07 GB, free: 89.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/13.1, allocations: 300.7 kB / 5.071 GB, free: 89.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/13.1, allocations: 1.045 MB / 5.072 GB, free: 89.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/13.1, allocations: 108.7 kB / 5.072 GB, free: 89.19 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/13.1, allocations: 78.61 kB / 5.072 GB, free: 89.19 MB / 0.9948 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.0004454/13.1, allocations: 148.9 kB / 5.072 GB, free: 89.07 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/13.1, allocations: 213.4 kB / 5.072 GB, free: 88.96 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/13.11, allocations: 1.507 MB / 5.074 GB, free: 88.87 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/13.11, allocations: 14.28 kB / 5.074 GB, free: 88.86 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/13.11, allocations: 0 / 5.074 GB, free: 88.86 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002352/13.11, allocations: 1.15 MB / 5.075 GB, free: 88.77 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006735/13.12, allocations: 3.529 MB / 5.078 GB, free: 88.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/13.12, allocations: 6.156 kB / 5.078 GB, free: 88.16 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009678/13.12, allocations: 189.2 kB / 5.079 GB, free: 88.16 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/13.12, allocations: 330.5 kB / 5.079 GB, free: 88.15 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-05/13.12, allocations: 14.59 kB / 5.079 GB, free: 88.15 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009386/13.12, allocations: 0.9858 MB / 5.08 GB, free: 87.62 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/13.12, allocations: 10.28 kB / 5.08 GB, free: 87.62 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003604/13.12, allocations: 2.65 MB / 5.082 GB, free: 86.45 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005854/13.13, allocations: 3.892 MB / 5.086 GB, free: 84.89 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/13.13, allocations: 420.8 kB / 5.087 GB, free: 84.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/13.13, allocations: 11.81 kB / 5.087 GB, free: 84.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/13.13, allocations: 68.7 kB / 5.087 GB, free: 84.67 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/13.13, allocations: 78.47 kB / 5.087 GB, free: 84.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/13.13, allocations: 49.62 kB / 5.087 GB, free: 84.67 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.002175/13.14, allocations: 1.08 MB / 5.088 GB, free: 84.52 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.009374/13.14, allocations: 2.183 MB / 5.09 GB, free: 84.47 MB / 0.9948 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.006309/13.15, allocations: 3.91 MB / 5.094 GB, free: 82.94 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004236/13.16, allocations: 2.036 MB / 5.096 GB, free: 82.91 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/13.16, allocations: 0 / 5.096 GB, free: 82.91 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009887/13.16, allocations: 0.5421 MB / 5.096 GB, free: 82.91 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006447/13.16, allocations: 1.069 MB / 5.097 GB, free: 82.87 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009977/13.17, allocations: 3.973 MB / 5.101 GB, free: 81.88 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001849/13.17, allocations: 1.923 MB / 5.103 GB, free: 81.14 MB / 0.9948 GB Notification: Performance of SimCode: time 1.413e-06/13.17, allocations: 0 / 5.103 GB, free: 81.14 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)