Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.532/1.532, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001083/0.001083, allocations: 177.4 kB / 366.3 MB, free: 2.004 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.529/1.529, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.001034/0.001034, allocations: 91.45 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3263/0.3274, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8978/1.225, allocations: 116.3 MB / 0.9727 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.421/6.646, allocations: 2.342 GB / 3.315 GB, free: 112.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004367/6.647, allocations: 96.69 kB / 3.315 GB, free: 112 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 3.894/10.54, allocations: 1.115 GB / 4.43 GB, free: 82.48 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/10.54, allocations: 8 kB / 4.43 GB, free: 82.47 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/10.54, allocations: 377.2 kB / 4.43 GB, free: 82.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004909/10.55, allocations: 1.657 MB / 4.432 GB, free: 80.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.186e-05/10.55, allocations: 44 kB / 4.432 GB, free: 80.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004273/10.55, allocations: 88 kB / 4.432 GB, free: 80.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002419/10.55, allocations: 0.9504 MB / 4.433 GB, free: 79.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/10.55, allocations: 1.228 MB / 4.434 GB, free: 78.05 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/10.55, allocations: 4 kB / 4.434 GB, free: 78.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/10.55, allocations: 0 / 4.434 GB, free: 78.05 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.904e-05/10.55, allocations: 62.17 kB / 4.434 GB, free: 77.99 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009364/10.56, allocations: 7.222 MB / 4.441 GB, free: 70.37 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/10.57, allocations: 0.7755 MB / 4.442 GB, free: 69.56 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/10.57, allocations: 387.4 kB / 4.443 GB, free: 69.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007161/10.57, allocations: 0.7227 MB / 4.443 GB, free: 68.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/10.57, allocations: 51.12 kB / 4.443 GB, free: 68.25 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=75): time 3.166e-06/10.57, allocations: 0 / 4.443 GB, free: 68.25 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.003506/10.57, allocations: 1.179 MB / 4.445 GB, free: 67.06 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/10.57, allocations: 64 kB / 4.445 GB, free: 66.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/10.57, allocations: 0.9376 MB / 4.445 GB, free: 66.04 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/10.57, allocations: 29.7 kB / 4.446 GB, free: 66 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/10.57, allocations: 0.5744 MB / 4.446 GB, free: 65.42 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/10.57, allocations: 251.2 kB / 4.446 GB, free: 65.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/10.57, allocations: 0 / 4.446 GB, free: 65.17 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/10.57, allocations: 334 kB / 4.447 GB, free: 64.84 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/10.57, allocations: 269.9 kB / 4.447 GB, free: 64.58 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/10.57, allocations: 0.5591 MB / 4.447 GB, free: 63.89 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/10.57, allocations: 453.2 kB / 4.448 GB, free: 63.45 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/10.57, allocations: 0 / 4.448 GB, free: 63.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003053/10.58, allocations: 1.263 MB / 4.449 GB, free: 62.18 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004271/10.58, allocations: 1.96 MB / 4.451 GB, free: 60.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/10.58, allocations: 4 kB / 4.451 GB, free: 60.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/10.58, allocations: 376.3 kB / 4.451 GB, free: 59.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/10.58, allocations: 151.8 kB / 4.452 GB, free: 59.58 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/10.58, allocations: 2.146 MB / 4.454 GB, free: 57.35 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/10.58, allocations: 147.1 kB / 4.454 GB, free: 57.21 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/10.58, allocations: 39.98 kB / 4.454 GB, free: 57.17 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/10.58, allocations: 4 kB / 4.454 GB, free: 57.16 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002766/10.59, allocations: 1.054 MB / 4.455 GB, free: 56.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/10.59, allocations: 12.03 kB / 4.455 GB, free: 56.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/10.59, allocations: 380 kB / 4.455 GB, free: 55.71 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/10.59, allocations: 147.8 kB / 4.455 GB, free: 55.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/10.59, allocations: 3.779 MB / 4.459 GB, free: 51.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/10.59, allocations: 139.1 kB / 4.459 GB, free: 51.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/10.59, allocations: 43.98 kB / 4.459 GB, free: 51.36 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003563/10.59, allocations: 124.7 kB / 4.459 GB, free: 51.23 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005853/10.59, allocations: 138.3 kB / 4.459 GB, free: 51.09 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/10.6, allocations: 1.244 MB / 4.461 GB, free: 49.84 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/10.6, allocations: 11.98 kB / 4.461 GB, free: 49.82 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/10.6, allocations: 5.969 kB / 4.461 GB, free: 49.82 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002448/10.6, allocations: 1.345 MB / 4.462 GB, free: 48.39 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005471/10.61, allocations: 2.54 MB / 4.464 GB, free: 45.78 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/10.61, allocations: 4.281 kB / 4.464 GB, free: 45.78 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/10.61, allocations: 111.9 kB / 4.465 GB, free: 45.67 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/10.61, allocations: 358.8 kB / 4.465 GB, free: 45.31 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/10.61, allocations: 15.98 kB / 4.465 GB, free: 45.29 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/10.61, allocations: 2.117 MB / 4.467 GB, free: 43.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/10.61, allocations: 7.938 kB / 4.467 GB, free: 43.09 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002189/10.61, allocations: 1.345 MB / 4.468 GB, free: 41.63 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002579/10.61, allocations: 1.877 MB / 4.47 GB, free: 39.62 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/10.62, allocations: 327.1 kB / 4.47 GB, free: 39.28 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004222/10.62, allocations: 15.55 kB / 4.471 GB, free: 39.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/10.62, allocations: 111.7 kB / 4.471 GB, free: 39.16 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/10.62, allocations: 52.48 kB / 4.471 GB, free: 39.11 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/10.62, allocations: 31.92 kB / 4.471 GB, free: 39.08 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0012/10.62, allocations: 0.7102 MB / 4.471 GB, free: 38.37 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006635/10.63, allocations: 1.665 MB / 4.473 GB, free: 36.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003496/10.63, allocations: 2.54 MB / 4.475 GB, free: 34.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002595/10.63, allocations: 1.46 MB / 4.477 GB, free: 32.72 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/10.63, allocations: 0 / 4.477 GB, free: 32.72 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007875/10.63, allocations: 429.6 kB / 4.477 GB, free: 32.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/10.64, allocations: 0.6991 MB / 4.478 GB, free: 31.62 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/10.64, allocations: 1.994 MB / 4.48 GB, free: 29.55 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009993/10.64, allocations: 1.487 MB / 4.481 GB, free: 28.04 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/10.64, allocations: 7.875 kB / 4.481 GB, free: 28.04 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)