Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.271/2.271, allocations: 248.6 MB / 255.9 MB, free: 7.098 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.001836/0.001835, allocations: 185.2 kB / 315.1 MB, free: 4.277 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.861/1.861, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001307/0.001306, allocations: 94.64 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4884/0.4898, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.7047, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.57/2.275, allocations: 394.3 MB / 1.268 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/2.276, allocations: 80.91 kB / 1.269 GB, free: 241.3 MB / 0.8542 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.5846/2.86, allocations: 163 MB / 1.428 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/2.86, allocations: 12 kB / 1.428 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/2.86, allocations: 43.44 kB / 1.428 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04918/2.91, allocations: 13.39 MB / 1.441 GB, free: 122 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/2.91, allocations: 8 kB / 1.441 GB, free: 122 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/2.91, allocations: 12 kB / 1.441 GB, free: 122 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004504/2.91, allocations: 92.64 kB / 1.441 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/2.911, allocations: 135.8 kB / 1.441 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/2.911, allocations: 0 / 1.441 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/2.911, allocations: 0 / 1.441 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/2.911, allocations: 4 kB / 1.441 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/2.913, allocations: 0.823 MB / 1.442 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/2.913, allocations: 94.67 kB / 1.442 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/2.914, allocations: 56.84 kB / 1.442 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/2.914, allocations: 339.8 kB / 1.442 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/2.914, allocations: 50.34 kB / 1.442 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.474e-06/2.914, allocations: 0 / 1.442 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0005663/2.915, allocations: 133.3 kB / 1.443 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/2.915, allocations: 51.41 kB / 1.443 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/2.915, allocations: 250.1 kB / 1.443 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/2.915, allocations: 29.7 kB / 1.443 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/2.915, allocations: 136.3 kB / 1.443 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/2.915, allocations: 59.23 kB / 1.443 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/2.915, allocations: 0 / 1.443 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/2.915, allocations: 342.8 kB / 1.443 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/2.915, allocations: 20 kB / 1.443 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/2.916, allocations: 78.86 kB / 1.443 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/2.916, allocations: 55.89 kB / 1.444 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/2.916, allocations: 0 / 1.444 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004176/2.916, allocations: 145.1 kB / 1.444 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/2.916, allocations: 181.9 kB / 1.444 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/2.916, allocations: 0 / 1.444 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/2.916, allocations: 4 kB / 1.444 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/2.917, allocations: 31.97 kB / 1.444 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/2.917, allocations: 11.92 kB / 1.444 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/2.917, allocations: 19.98 kB / 1.444 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/2.917, allocations: 15.98 kB / 1.444 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/2.917, allocations: 4 kB / 1.444 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003362/2.917, allocations: 75.89 kB / 1.444 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/2.917, allocations: 0 / 1.444 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/2.917, allocations: 3.906 kB / 1.444 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/2.918, allocations: 27.98 kB / 1.444 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/2.918, allocations: 4 kB / 1.444 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/2.918, allocations: 28.19 kB / 1.444 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/2.918, allocations: 4 kB / 1.444 GB, free: 118.5 MB / 0.8542 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 9.403e-05/2.918, allocations: 112.8 kB / 1.444 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/2.918, allocations: 35.56 kB / 1.444 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000694/2.919, allocations: 184.6 kB / 1.444 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/2.919, allocations: 7.906 kB / 1.444 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/2.919, allocations: 0 / 1.444 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/2.919, allocations: 0 / 1.444 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/2.92, allocations: 0.5239 MB / 1.445 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/2.92, allocations: 4 kB / 1.445 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/2.92, allocations: 27.92 kB / 1.445 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/2.92, allocations: 4 kB / 1.445 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/2.92, allocations: 7.984 kB / 1.445 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/2.921, allocations: 4 kB / 1.445 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/2.921, allocations: 0 / 1.445 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005157/2.921, allocations: 319.9 kB / 1.445 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005581/2.922, allocations: 0.7056 MB / 1.446 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/2.922, allocations: 124.5 kB / 1.446 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/2.922, allocations: 4 kB / 1.446 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/2.922, allocations: 23.97 kB / 1.446 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/2.922, allocations: 15.89 kB / 1.446 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/2.922, allocations: 8 kB / 1.446 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0002551/2.923, allocations: 196.6 kB / 1.446 GB, free: 116 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002671/2.925, allocations: 199.7 kB / 1.446 GB, free: 115.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * 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.000754/2.926, allocations: 302.8 kB / 1.447 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004389/2.927, allocations: 145.9 kB / 1.447 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/2.927, allocations: 0 / 1.447 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/2.927, allocations: 63.92 kB / 1.447 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/2.928, allocations: 113.4 kB / 1.447 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/2.929, allocations: 375 kB / 1.447 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/2.929, allocations: 0.8346 MB / 1.448 GB, free: 114 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/2.929, allocations: 0 / 1.448 GB, free: 114 MB / 0.8542 GB