Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.185/2.185, allocations: 248.6 MB / 255.9 MB, free: 336 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001748/0.001748, allocations: 181.9 kB / 315.1 MB, free: 7.73 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.032/2.032, allocations: 205.1 MB / 0.5658 GB, free: 25.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001298/0.001298, allocations: 95.91 kB / 0.67 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2711/0.2725, allocations: 112.4 MB / 0.7797 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.7612, allocations: 106.2 MB / 0.8835 GB, free: 77.24 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.652/6.413, allocations: 2.177 GB / 3.06 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/6.414, allocations: 82.02 kB / 3.06 GB, free: 245.1 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.7082/7.122, allocations: 208.4 MB / 3.264 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/7.122, allocations: 8 kB / 3.264 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/7.122, allocations: 59.58 kB / 3.264 GB, free: 102 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/7.123, allocations: 287 kB / 3.264 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/7.123, allocations: 4 kB / 3.264 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/7.123, allocations: 12 kB / 3.264 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004682/7.123, allocations: 172.3 kB / 3.265 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/7.124, allocations: 198.7 kB / 3.265 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/7.124, allocations: 0 / 3.265 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/7.124, allocations: 0 / 3.265 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/7.124, allocations: 11.94 kB / 3.265 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/7.126, allocations: 0.8455 MB / 3.266 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/7.126, allocations: 126.5 kB / 3.266 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/7.127, allocations: 97.56 kB / 3.266 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/7.127, allocations: 194.1 kB / 3.266 GB, free: 99.92 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/7.127, allocations: 34.56 kB / 3.266 GB, free: 99.88 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 4.088e-06/7.127, allocations: 4 kB / 3.266 GB, free: 99.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0009468/7.128, allocations: 227 kB / 3.266 GB, free: 99.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/7.128, allocations: 55.34 kB / 3.266 GB, free: 99.58 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/7.128, allocations: 157.9 kB / 3.266 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/7.128, allocations: 29.7 kB / 3.266 GB, free: 99.38 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/7.128, allocations: 124.2 kB / 3.267 GB, free: 99.25 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/7.129, allocations: 47.3 kB / 3.267 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/7.129, allocations: 0 / 3.267 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.829e-05/7.129, allocations: 334.7 kB / 3.267 GB, free: 98.87 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/7.129, allocations: 63.97 kB / 3.267 GB, free: 98.81 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/7.129, allocations: 112.2 kB / 3.267 GB, free: 98.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/7.129, allocations: 75.95 kB / 3.267 GB, free: 98.61 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/7.129, allocations: 0 / 3.267 GB, free: 98.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005044/7.13, allocations: 211 kB / 3.267 GB, free: 98.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/7.13, allocations: 4.625 kB / 3.267 GB, free: 98.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/7.13, allocations: 0 / 3.267 GB, free: 98.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/7.13, allocations: 4 kB / 3.267 GB, free: 98.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/7.131, allocations: 39.97 kB / 3.267 GB, free: 98.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/7.131, allocations: 4 kB / 3.267 GB, free: 98.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/7.131, allocations: 23.83 kB / 3.267 GB, free: 98.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/7.131, allocations: 11.98 kB / 3.267 GB, free: 98.31 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001826/7.132, allocations: 111.2 kB / 3.268 GB, free: 98.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/7.132, allocations: 15.81 kB / 3.268 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/7.132, allocations: 25.45 kB / 3.268 GB, free: 98.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/7.132, allocations: 0 / 3.268 GB, free: 98.16 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/7.132, allocations: 3.906 kB / 3.268 GB, free: 98.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/7.132, allocations: 4 kB / 3.268 GB, free: 98.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/7.134, allocations: 0.6488 MB / 3.268 GB, free: 97.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/7.134, allocations: 4 kB / 3.268 GB, free: 97.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007709/7.135, allocations: 44.12 kB / 3.268 GB, free: 97.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/7.135, allocations: 0 / 3.268 GB, free: 97.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/7.135, allocations: 4 kB / 3.268 GB, free: 97.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/7.135, allocations: 7.984 kB / 3.268 GB, free: 97.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/7.135, allocations: 0 / 3.268 GB, free: 97.38 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000943/7.136, allocations: 437 kB / 3.269 GB, free: 96.88 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001293/7.138, allocations: 0.8256 MB / 3.269 GB, free: 95.96 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/7.138, allocations: 113 kB / 3.27 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/7.138, allocations: 8 kB / 3.27 GB, free: 95.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007105/7.139, allocations: 15.98 kB / 3.27 GB, free: 95.81 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.942e-05/7.139, allocations: 15.89 kB / 3.27 GB, free: 95.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/7.139, allocations: 11.94 kB / 3.27 GB, free: 95.79 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000218/7.139, allocations: 132.2 kB / 3.27 GB, free: 95.66 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003188/7.142, allocations: 199.8 kB / 3.27 GB, free: 95.46 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 (14): * Single equations (assignments): 14 * 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.001868/7.144, allocations: 1.016 MB / 3.271 GB, free: 94.46 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005316/7.145, allocations: 163.8 kB / 3.271 GB, free: 94.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/7.145, allocations: 4 kB / 3.271 GB, free: 94.29 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/7.145, allocations: 100.2 kB / 3.271 GB, free: 94.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/7.146, allocations: 76.39 kB / 3.271 GB, free: 94.12 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008632/7.147, allocations: 317.4 kB / 3.272 GB, free: 93.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000411/7.147, allocations: 0.7896 MB / 3.272 GB, free: 92.95 MB / 0.8698 GB Notification: Performance of SimCode: time 1.083e-06/7.147, allocations: 0 / 3.272 GB, free: 92.95 MB / 0.8698 GB