Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.325/2.325, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.001577/0.001577, allocations: 181.2 kB / 315.1 MB, free: 4.273 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.945/1.945, allocations: 205.1 MB / 0.5658 GB, free: 292 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001292/0.001291, allocations: 95.31 kB / 0.67 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5226/0.5239, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.7495, allocations: 106.3 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.367/7.116, allocations: 2.459 GB / 3.342 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/7.117, allocations: 95.34 kB / 3.342 GB, free: 236.7 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 5.072/12.19, allocations: 1.084 GB / 4.427 GB, free: 113 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/12.19, allocations: 11.81 kB / 4.427 GB, free: 113 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003215/12.19, allocations: 390 kB / 4.427 GB, free: 112.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006548/12.2, allocations: 1.658 MB / 4.429 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.751e-05/12.2, allocations: 43.97 kB / 4.429 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003657/12.2, allocations: 91 kB / 4.429 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003487/12.2, allocations: 0.9485 MB / 4.43 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003918/12.21, allocations: 1.235 MB / 4.431 GB, free: 112.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.587e-05/12.21, allocations: 3.938 kB / 4.431 GB, free: 112.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/12.21, allocations: 0 / 4.431 GB, free: 112.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-05/12.21, allocations: 52.16 kB / 4.431 GB, free: 112.2 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/12.22, allocations: 7.22 MB / 4.438 GB, free: 108.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/12.22, allocations: 0.7736 MB / 4.439 GB, free: 108 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008934/12.23, allocations: 385.9 kB / 4.439 GB, free: 108 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/12.23, allocations: 0.725 MB / 4.44 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/12.23, allocations: 44.44 kB / 4.44 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=75): time 5.17e-06/12.23, allocations: 0 / 4.44 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=75): time 0.006096/12.23, allocations: 1.185 MB / 4.441 GB, free: 107 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/12.23, allocations: 63.97 kB / 4.441 GB, free: 107 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/12.24, allocations: 0.9431 MB / 4.442 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002721/12.24, allocations: 29.55 kB / 4.442 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/12.24, allocations: 0.5664 MB / 4.443 GB, free: 106.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004188/12.24, allocations: 253.6 kB / 4.443 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/12.24, allocations: 0 / 4.443 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.797e-05/12.24, allocations: 341.9 kB / 4.443 GB, free: 106 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007374/12.24, allocations: 270 kB / 4.443 GB, free: 106 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/12.24, allocations: 0.5571 MB / 4.444 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/12.24, allocations: 449.8 kB / 4.444 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/12.24, allocations: 0 / 4.444 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005785/12.25, allocations: 1.255 MB / 4.446 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000466/12.25, allocations: 1.957 MB / 4.448 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/12.25, allocations: 3.906 kB / 4.448 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002964/12.25, allocations: 377.2 kB / 4.448 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/12.25, allocations: 145.1 kB / 4.448 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/12.25, allocations: 2.146 MB / 4.45 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/12.26, allocations: 150.7 kB / 4.45 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/12.26, allocations: 43.3 kB / 4.45 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/12.26, allocations: 3.906 kB / 4.45 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004731/12.26, allocations: 1.063 MB / 4.451 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/12.26, allocations: 3.844 kB / 4.451 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002893/12.26, allocations: 377.6 kB / 4.452 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/12.27, allocations: 148.1 kB / 4.452 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/12.27, allocations: 3.781 MB / 4.456 GB, free: 98.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/12.27, allocations: 139.9 kB / 4.456 GB, free: 98.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/12.27, allocations: 41.98 kB / 4.456 GB, free: 98.58 MB / 0.9167 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.0003522/12.27, allocations: 124 kB / 4.456 GB, free: 98.46 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005675/12.27, allocations: 142.4 kB / 4.456 GB, free: 98.39 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005629/12.28, allocations: 1.248 MB / 4.457 GB, free: 98.25 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/12.28, allocations: 9.516 kB / 4.457 GB, free: 98.25 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/12.28, allocations: 3.906 kB / 4.457 GB, free: 98.25 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004667/12.28, allocations: 1.339 MB / 4.459 GB, free: 97.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007678/12.29, allocations: 2.538 MB / 4.461 GB, free: 97.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/12.29, allocations: 3.531 kB / 4.461 GB, free: 97.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009495/12.29, allocations: 109 kB / 4.461 GB, free: 97.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002735/12.3, allocations: 359.4 kB / 4.461 GB, free: 97.27 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/12.3, allocations: 10.3 kB / 4.461 GB, free: 97.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/12.3, allocations: 2.126 MB / 4.464 GB, free: 95.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/12.3, allocations: 3.906 kB / 4.464 GB, free: 95.69 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003567/12.3, allocations: 1.342 MB / 4.465 GB, free: 95.16 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004124/12.31, allocations: 1.879 MB / 4.467 GB, free: 94.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/12.31, allocations: 342.4 kB / 4.467 GB, free: 94.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004038/12.31, allocations: 3.844 kB / 4.467 GB, free: 94.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/12.31, allocations: 112.3 kB / 4.467 GB, free: 94.08 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/12.31, allocations: 48.22 kB / 4.467 GB, free: 94.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/12.31, allocations: 35.62 kB / 4.467 GB, free: 94.07 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.00164/12.31, allocations: 0.7079 MB / 4.468 GB, free: 93.96 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.009149/12.32, allocations: 1.677 MB / 4.47 GB, free: 93.8 MB / 0.9167 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.005006/12.33, allocations: 2.527 MB / 4.472 GB, free: 93 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004572/12.33, allocations: 1.461 MB / 4.473 GB, free: 92.74 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/12.33, allocations: 0 / 4.473 GB, free: 92.74 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/12.33, allocations: 427.1 kB / 4.474 GB, free: 92.72 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007032/12.34, allocations: 0.7055 MB / 4.475 GB, free: 92.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007923/12.35, allocations: 2.009 MB / 4.476 GB, free: 92.07 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/12.35, allocations: 1.488 MB / 4.478 GB, free: 91.35 MB / 0.9167 GB Notification: Performance of SimCode: time 1.633e-06/12.35, allocations: 3.406 kB / 4.478 GB, free: 91.35 MB / 0.9167 GB