Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.211/2.211, allocations: 253.1 MB / 260.4 MB, free: 7.504 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001598, allocations: 177.3 kB / 319.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 79.8 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.156e-05/1.163e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.223, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.532/1.755, allocations: 431.5 MB / 1.309 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/1.756, allocations: 90.36 kB / 1.309 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.488/5.244, allocations: 0.7437 GB / 2.053 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003498/5.245, allocations: 59.86 kB / 2.053 GB, free: 130.6 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.006898/5.252, allocations: 1.976 MB / 2.055 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/5.252, allocations: 7.625 kB / 2.055 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005945/5.258, allocations: 0.5935 MB / 2.056 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05097/5.309, allocations: 13.8 MB / 2.069 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/5.309, allocations: 38.41 kB / 2.069 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004436/5.309, allocations: 72.34 kB / 2.069 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002841/5.312, allocations: 0.8703 MB / 2.07 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/5.315, allocations: 1.067 MB / 2.071 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/5.315, allocations: 1.562 kB / 2.071 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/5.315, allocations: 3.75 kB / 2.071 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/5.315, allocations: 25.56 kB / 2.071 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/5.328, allocations: 5.688 MB / 2.077 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/5.33, allocations: 0.7076 MB / 2.078 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000801/5.33, allocations: 359.8 kB / 2.078 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006254/5.337, allocations: 2.72 MB / 2.081 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/5.337, allocations: 41.75 kB / 2.081 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 3.807e-06/5.337, allocations: 0 / 2.081 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.004483/5.341, allocations: 1.005 MB / 2.082 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/5.341, allocations: 62.22 kB / 2.082 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/5.344, allocations: 1.2 MB / 2.083 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002526/5.344, allocations: 25.7 kB / 2.083 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/5.345, allocations: 0.5518 MB / 2.083 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/5.345, allocations: 198.9 kB / 2.084 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-05/5.345, allocations: 0 / 2.084 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001017/5.345, allocations: 342.5 kB / 2.084 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008132/5.346, allocations: 313.8 kB / 2.084 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/5.347, allocations: 0.7379 MB / 2.085 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/5.35, allocations: 0.5336 MB / 2.085 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/5.35, allocations: 5.844 kB / 2.085 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00618/5.356, allocations: 1.363 MB / 2.087 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001002/5.357, allocations: 4.322 MB / 2.091 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/5.357, allocations: 11.97 kB / 2.091 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/5.358, allocations: 200.7 kB / 2.091 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/5.36, allocations: 219.7 kB / 2.091 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/5.362, allocations: 1.898 MB / 2.093 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/5.364, allocations: 140.1 kB / 2.093 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/5.365, allocations: 74.58 kB / 2.093 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/5.365, allocations: 3.969 kB / 2.093 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005946/5.371, allocations: 1.093 MB / 2.094 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.874e-05/5.371, allocations: 10.31 kB / 2.095 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009672/5.372, allocations: 213 kB / 2.095 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/5.373, allocations: 205 kB / 2.095 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007484/5.381, allocations: 3.723 MB / 2.099 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/5.383, allocations: 108.9 kB / 2.099 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003259/5.384, allocations: 74.58 kB / 2.099 GB, free: 113.2 MB / 0.8698 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.00051/5.384, allocations: 141.6 kB / 2.099 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000487/5.385, allocations: 161.7 kB / 2.099 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005196/5.39, allocations: 1.321 MB / 2.1 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/5.39, allocations: 7.938 kB / 2.1 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/5.39, allocations: 0 / 2.1 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/5.39, allocations: 6.672 kB / 2.1 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007924/5.398, allocations: 2.293 MB / 2.103 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/5.398, allocations: 3.938 kB / 2.103 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/5.399, allocations: 119.9 kB / 2.103 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006932/5.4, allocations: 169.1 kB / 2.103 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/5.4, allocations: 15.31 kB / 2.103 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/5.402, allocations: 1.816 MB / 2.105 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-06/5.402, allocations: 9 kB / 2.105 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005041/5.407, allocations: 1.283 MB / 2.106 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/5.408, allocations: 334.8 kB / 2.106 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004492/5.409, allocations: 6.156 kB / 2.106 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/5.411, allocations: 69.89 kB / 2.106 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/5.411, allocations: 48.91 kB / 2.106 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/5.411, allocations: 39.98 kB / 2.106 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002475/5.414, allocations: 0.9006 MB / 2.107 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005889/5.419, allocations: 0.9886 MB / 2.108 GB, free: 109.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.003998/5.423, allocations: 1.374 MB / 2.11 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004702/5.428, allocations: 1.534 MB / 2.111 GB, free: 109 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/5.428, allocations: 0 / 2.111 GB, free: 109 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/5.43, allocations: 416.2 kB / 2.111 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00571/5.435, allocations: 0.648 MB / 2.112 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007227/5.443, allocations: 2.16 MB / 2.114 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/5.445, allocations: 1.574 MB / 2.116 GB, free: 107 MB / 0.8698 GB Notification: Performance of SimCode: time 1.462e-06/5.445, allocations: 0 / 2.116 GB, free: 107 MB / 0.8698 GB Notification: Performance of Templates: time 0.1234/5.568, allocations: 41.7 MB / 2.156 GB, free: 91.64 MB / 0.8698 GB