Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",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 loadModel(Buildings): time 3.938/3.938, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5344/4.473, allocations: 104.3 MB / 0.5319 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/4.699, allocations: 98.72 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9548/5.654, allocations: 385 MB / 1.004 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/5.654, allocations: 87.7 kB / 1.004 GB, free: 3.379 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.9558/6.61, allocations: 161.5 MB / 1.162 GB, free: 193.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/6.61, allocations: 7.875 kB / 1.162 GB, free: 193.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/6.61, allocations: 43.09 kB / 1.162 GB, free: 193.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05618/6.666, allocations: 13.22 MB / 1.175 GB, free: 192.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/6.666, allocations: 3.812 kB / 1.175 GB, free: 192.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/6.666, allocations: 11.69 kB / 1.175 GB, free: 192.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003299/6.667, allocations: 99.27 kB / 1.175 GB, free: 192.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/6.667, allocations: 126.1 kB / 1.175 GB, free: 192.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/6.667, allocations: 0 / 1.175 GB, free: 192.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/6.667, allocations: 3.969 kB / 1.175 GB, free: 192.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/6.667, allocations: 7.812 kB / 1.175 GB, free: 192.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/6.669, allocations: 0.7997 MB / 1.176 GB, free: 192 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/6.669, allocations: 90.81 kB / 1.176 GB, free: 191.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/6.669, allocations: 36.44 kB / 1.176 GB, free: 191.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/6.67, allocations: 339.2 kB / 1.176 GB, free: 191.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/6.67, allocations: 34.47 kB / 1.176 GB, free: 191.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 3.767e-06/6.67, allocations: 0 / 1.176 GB, free: 191.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0005194/6.67, allocations: 126 kB / 1.177 GB, free: 191.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/6.67, allocations: 51.41 kB / 1.177 GB, free: 191.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/6.671, allocations: 259.3 kB / 1.177 GB, free: 191.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/6.671, allocations: 25.7 kB / 1.177 GB, free: 191.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/6.671, allocations: 154.7 kB / 1.177 GB, free: 191.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/6.671, allocations: 30.81 kB / 1.177 GB, free: 191.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/6.671, allocations: 0 / 1.177 GB, free: 191.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/6.671, allocations: 341.2 kB / 1.177 GB, free: 190.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/6.671, allocations: 24.94 kB / 1.177 GB, free: 190.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/6.671, allocations: 88.03 kB / 1.178 GB, free: 190.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/6.671, allocations: 40.39 kB / 1.178 GB, free: 190.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/6.671, allocations: 0 / 1.178 GB, free: 190.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003951/6.672, allocations: 139 kB / 1.178 GB, free: 190.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.076e-05/6.672, allocations: 187.3 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/6.672, allocations: 3.984 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/6.672, allocations: 0 / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/6.672, allocations: 36.12 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/6.672, allocations: 3.938 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/6.673, allocations: 32.95 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/6.673, allocations: 9.641 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/6.673, allocations: 3.906 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002837/6.673, allocations: 68.05 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/6.673, allocations: 6.156 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/6.673, allocations: 3.906 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/6.673, allocations: 26.95 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/6.673, allocations: 3.906 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/6.674, allocations: 26.52 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/6.674, allocations: 13.81 kB / 1.178 GB, free: 190.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.773e-05/6.674, allocations: 108.4 kB / 1.178 GB, free: 190.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/6.674, allocations: 35.16 kB / 1.178 GB, free: 190.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006547/6.674, allocations: 175.2 kB / 1.178 GB, free: 190.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/6.674, allocations: 0 / 1.178 GB, free: 190.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/6.674, allocations: 0 / 1.178 GB, free: 190.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/6.674, allocations: 4 kB / 1.178 GB, free: 190.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/6.676, allocations: 0.4936 MB / 1.179 GB, free: 190 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/6.676, allocations: 0 / 1.179 GB, free: 190 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/6.676, allocations: 21.58 kB / 1.179 GB, free: 190 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/6.676, allocations: 10.09 kB / 1.179 GB, free: 190 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/6.676, allocations: 0 / 1.179 GB, free: 190 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/6.676, allocations: 32 / 1.179 GB, free: 190 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/6.676, allocations: 4 kB / 1.179 GB, free: 190 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004312/6.676, allocations: 270.8 kB / 1.179 GB, free: 189.8 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005258/6.677, allocations: 0.649 MB / 1.18 GB, free: 189.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/6.677, allocations: 116.8 kB / 1.18 GB, free: 189.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.979e-05/6.677, allocations: 0 / 1.18 GB, free: 189.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/6.677, allocations: 28.75 kB / 1.18 GB, free: 189.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/6.678, allocations: 11.41 kB / 1.18 GB, free: 189.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/6.678, allocations: 9.719 kB / 1.18 GB, free: 189.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002698/6.678, allocations: 199.2 kB / 1.18 GB, free: 189.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00278/6.681, allocations: 204.4 kB / 1.18 GB, free: 189 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008401/6.682, allocations: 283.7 kB / 1.181 GB, free: 188.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004622/6.682, allocations: 132.8 kB / 1.181 GB, free: 188.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/6.682, allocations: 4.188 kB / 1.181 GB, free: 188.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/6.682, allocations: 51.25 kB / 1.181 GB, free: 188.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/6.684, allocations: 118.4 kB / 1.181 GB, free: 188.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/6.685, allocations: 372.8 kB / 1.181 GB, free: 188.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/6.685, allocations: 0.8402 MB / 1.182 GB, free: 188 MB / 0.823 GB Notification: Performance of SimCode: time 1.102e-06/6.685, allocations: 7.938 kB / 1.182 GB, free: 188 MB / 0.823 GB