Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.159/2.159, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.001637/0.001637, allocations: 185.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 2.144/2.144, allocations: 205.1 MB / 0.5658 GB, free: 448 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.002312/0.002311, allocations: 91.39 kB / 0.67 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5149/0.5173, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.7293, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.559/6.288, allocations: 2.18 GB / 3.064 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/6.289, allocations: 83.08 kB / 3.064 GB, free: 188.5 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 1.07/7.359, allocations: 213.3 MB / 3.272 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/7.359, allocations: 9.188 kB / 3.272 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004986/7.36, allocations: 60.25 kB / 3.272 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/7.36, allocations: 305.7 kB / 3.273 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/7.36, allocations: 3.281 kB / 3.273 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/7.361, allocations: 16.22 kB / 3.273 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002869/7.361, allocations: 88.53 kB / 3.273 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/7.361, allocations: 158.3 kB / 3.273 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/7.361, allocations: 0 / 3.273 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/7.361, allocations: 0 / 3.273 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/7.361, allocations: 13.67 kB / 3.273 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/7.363, allocations: 0.7517 MB / 3.274 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/7.363, allocations: 67.19 kB / 3.274 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/7.363, allocations: 58.73 kB / 3.274 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003506/7.363, allocations: 184.7 kB / 3.274 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/7.364, allocations: 37.31 kB / 3.274 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 3.046e-06/7.364, allocations: 0 / 3.274 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0007525/7.364, allocations: 145.8 kB / 3.274 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/7.364, allocations: 55.38 kB / 3.274 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/7.365, allocations: 183.5 kB / 3.274 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/7.365, allocations: 28.92 kB / 3.274 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/7.365, allocations: 120 kB / 3.274 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/7.365, allocations: 41.45 kB / 3.274 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/7.365, allocations: 0 / 3.274 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.061e-05/7.365, allocations: 332.2 kB / 3.275 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/7.365, allocations: 25.03 kB / 3.275 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/7.365, allocations: 88.8 kB / 3.275 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/7.365, allocations: 42.64 kB / 3.275 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/7.365, allocations: 0 / 3.275 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000317/7.366, allocations: 120.2 kB / 3.275 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.269e-05/7.366, allocations: 365 kB / 3.275 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/7.366, allocations: 3.844 kB / 3.275 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/7.366, allocations: 4.25 kB / 3.275 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/7.366, allocations: 21.56 kB / 3.275 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/7.366, allocations: 2.688 kB / 3.275 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/7.366, allocations: 30 kB / 3.275 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/7.366, allocations: 10.17 kB / 3.275 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/7.367, allocations: 3.625 kB / 3.275 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002169/7.367, allocations: 72.58 kB / 3.276 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/7.367, allocations: 0 / 3.276 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/7.367, allocations: 1.594 kB / 3.276 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/7.367, allocations: 27.72 kB / 3.276 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/7.367, allocations: 3.406 kB / 3.276 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/7.367, allocations: 22.83 kB / 3.276 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/7.367, allocations: 13.62 kB / 3.276 GB, free: 251.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.485e-05/7.368, allocations: 108.6 kB / 3.276 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/7.368, allocations: 21.81 kB / 3.276 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/7.368, allocations: 124 kB / 3.276 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/7.368, allocations: 0 / 3.276 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/7.368, allocations: 0 / 3.276 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/7.368, allocations: 0 / 3.276 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/7.369, allocations: 0.5182 MB / 3.276 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/7.369, allocations: 0 / 3.276 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/7.369, allocations: 34.94 kB / 3.276 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/7.369, allocations: 7.594 kB / 3.276 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/7.369, allocations: 3.812 kB / 3.276 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/7.369, allocations: 2.906 kB / 3.276 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/7.369, allocations: 10 kB / 3.276 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003562/7.37, allocations: 339.9 kB / 3.277 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005232/7.37, allocations: 0.7482 MB / 3.277 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/7.37, allocations: 107.3 kB / 3.278 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/7.371, allocations: 7.5 kB / 3.278 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/7.371, allocations: 25.88 kB / 3.278 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/7.371, allocations: 13.05 kB / 3.278 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/7.371, allocations: 7.406 kB / 3.278 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001823/7.371, allocations: 150.8 kB / 3.278 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003002/7.374, allocations: 350.3 kB / 3.278 GB, free: 249.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001723/7.376, allocations: 1.028 MB / 3.279 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004433/7.377, allocations: 124.4 kB / 3.279 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/7.377, allocations: 0 / 3.279 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/7.377, allocations: 52.36 kB / 3.279 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/7.378, allocations: 94.83 kB / 3.279 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008116/7.379, allocations: 293.8 kB / 3.28 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/7.379, allocations: 0.7867 MB / 3.28 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.242e-06/7.379, allocations: 0 / 3.28 GB, free: 248.5 MB / 0.8698 GB