Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",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 4.139/4.139, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5704/4.71, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/4.961, allocations: 98.73 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/6.041, allocations: 422.2 MB / 1.041 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003743/6.042, allocations: 92.73 kB / 1.041 GB, free: 14.08 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 4.001/10.04, allocations: 0.7392 GB / 1.78 GB, free: 118.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/10.04, allocations: 7.312 kB / 1.78 GB, free: 118.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007706/10.05, allocations: 0.6912 MB / 1.781 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0567/10.11, allocations: 13.67 MB / 1.794 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-05/10.11, allocations: 34.53 kB / 1.794 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004306/10.11, allocations: 75.75 kB / 1.794 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004488/10.11, allocations: 0.8656 MB / 1.795 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006611/10.12, allocations: 1.067 MB / 1.796 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-05/10.12, allocations: 0 / 1.796 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003552/10.12, allocations: 7.062 kB / 1.796 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-05/10.12, allocations: 22.75 kB / 1.796 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0167/10.14, allocations: 5.976 MB / 1.802 GB, free: 114 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/10.14, allocations: 0.6881 MB / 1.802 GB, free: 114 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007356/10.14, allocations: 322.2 kB / 1.803 GB, free: 114 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006459/10.15, allocations: 2.312 MB / 1.805 GB, free: 112.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/10.15, allocations: 37.16 kB / 1.805 GB, free: 112.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 3.948e-06/10.15, allocations: 0 / 1.805 GB, free: 112.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=53): time 0.004671/10.15, allocations: 0.9499 MB / 1.806 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/10.15, allocations: 67.41 kB / 1.806 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/10.15, allocations: 1.226 MB / 1.807 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002882/10.15, allocations: 25.7 kB / 1.807 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006199/10.15, allocations: 0.5658 MB / 1.808 GB, free: 112 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003662/10.16, allocations: 186.3 kB / 1.808 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/10.16, allocations: 0 / 1.808 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001091/10.16, allocations: 343 kB / 1.808 GB, free: 111.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008914/10.16, allocations: 311 kB / 1.809 GB, free: 111.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/10.16, allocations: 0.7354 MB / 1.809 GB, free: 111 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/10.16, allocations: 0.524 MB / 1.81 GB, free: 111 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/10.16, allocations: 5.25 kB / 1.81 GB, free: 111 MB / 0.8386 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.006508/10.17, allocations: 1.354 MB / 1.811 GB, free: 110.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001078/10.17, allocations: 4.323 MB / 1.815 GB, free: 106.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/10.17, allocations: 12.44 kB / 1.815 GB, free: 106.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/10.17, allocations: 209.3 kB / 1.816 GB, free: 106.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/10.17, allocations: 214 kB / 1.816 GB, free: 106.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/10.17, allocations: 1.895 MB / 1.818 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/10.18, allocations: 143.8 kB / 1.818 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/10.18, allocations: 81.78 kB / 1.818 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/10.18, allocations: 3.844 kB / 1.818 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005507/10.18, allocations: 1.078 MB / 1.819 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.615e-05/10.18, allocations: 10.88 kB / 1.819 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/10.18, allocations: 213.6 kB / 1.819 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/10.19, allocations: 201 kB / 1.819 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/10.2, allocations: 3.718 MB / 1.823 GB, free: 101.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/10.2, allocations: 113.9 kB / 1.823 GB, free: 101.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/10.2, allocations: 68.94 kB / 1.823 GB, free: 101.9 MB / 0.8386 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * 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 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004964/10.2, allocations: 144.7 kB / 1.823 GB, free: 101.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000593/10.2, allocations: 158.7 kB / 1.823 GB, free: 101.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004816/10.21, allocations: 1.176 MB / 1.825 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/10.21, allocations: 7.594 kB / 1.825 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/10.21, allocations: 0 / 1.825 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/10.21, allocations: 7.141 kB / 1.825 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00755/10.21, allocations: 2.07 MB / 1.827 GB, free: 101.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/10.21, allocations: 0 / 1.827 GB, free: 101.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/10.22, allocations: 105.9 kB / 1.827 GB, free: 101.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007125/10.22, allocations: 158.5 kB / 1.827 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/10.22, allocations: 18.2 kB / 1.827 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/10.22, allocations: 1.824 MB / 1.829 GB, free: 99.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/10.22, allocations: 5.781 kB / 1.829 GB, free: 99.67 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004258/10.22, allocations: 1.065 MB / 1.83 GB, free: 99.38 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004803/10.23, allocations: 1.544 MB / 1.831 GB, free: 98.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/10.23, allocations: 328.1 kB / 1.832 GB, free: 98.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/10.23, allocations: 7.453 kB / 1.832 GB, free: 98.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/10.23, allocations: 70.58 kB / 1.832 GB, free: 98.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/10.23, allocations: 38.47 kB / 1.832 GB, free: 98.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/10.23, allocations: 33.91 kB / 1.832 GB, free: 98.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.002344/10.23, allocations: 0.9412 MB / 1.833 GB, free: 98.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.007944/10.24, allocations: 1.312 MB / 1.834 GB, free: 98.21 MB / 0.8386 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 (51): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003366/10.24, allocations: 1.365 MB / 1.835 GB, free: 97.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00454/10.25, allocations: 1.472 MB / 1.837 GB, free: 97.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/10.25, allocations: 0 / 1.837 GB, free: 97.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/10.25, allocations: 345.7 kB / 1.837 GB, free: 97.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005582/10.26, allocations: 0.6487 MB / 1.838 GB, free: 97.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00749/10.26, allocations: 2.071 MB / 1.84 GB, free: 97.19 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003103/10.27, allocations: 1.557 MB / 1.841 GB, free: 96.47 MB / 0.8386 GB Notification: Performance of SimCode: time 1.783e-06/10.27, allocations: 0 / 1.841 GB, free: 96.47 MB / 0.8386 GB