Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",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.548/2.548, allocations: 248.6 MB / 255.9 MB, free: 7.086 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.001562/0.001561, allocations: 175.4 kB / 315.1 MB, free: 4.266 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.916/1.916, allocations: 205.1 MB / 0.5658 GB, free: 356 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.001253/0.001253, allocations: 91.28 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4739/0.4752, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.6819, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6324/1.314, allocations: 132 MB / 1.012 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/1.315, allocations: 74.69 kB / 1.012 GB, free: 8.188 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.01763/1.332, allocations: 2.185 MB / 1.015 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.522e-05/1.332, allocations: 12.19 kB / 1.015 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/1.333, allocations: 11.81 kB / 1.015 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/1.333, allocations: 204.1 kB / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/1.333, allocations: 4 kB / 1.015 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/1.333, allocations: 7.984 kB / 1.015 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005233/1.334, allocations: 79.98 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/1.334, allocations: 113.9 kB / 1.015 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/1.334, allocations: 0 / 1.015 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/1.334, allocations: 8.656 kB / 1.015 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/1.334, allocations: 0 / 1.015 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/1.336, allocations: 387.5 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/1.338, allocations: 127.5 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/1.338, allocations: 48.7 kB / 1.016 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/1.338, allocations: 3.938 kB / 1.016 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/1.338, allocations: 34.56 kB / 1.016 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 3.847e-06/1.338, allocations: 0 / 1.016 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.000813/1.339, allocations: 135.8 kB / 1.016 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/1.339, allocations: 51.41 kB / 1.016 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/1.34, allocations: 126.8 kB / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.295e-05/1.34, allocations: 25.7 kB / 1.016 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/1.34, allocations: 98.47 kB / 1.016 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.482e-05/1.34, allocations: 30.42 kB / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/1.34, allocations: 0 / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002025/1.34, allocations: 321 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/1.34, allocations: 41.98 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/1.341, allocations: 40.92 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/1.341, allocations: 40.36 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.341, allocations: 0 / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007848/1.342, allocations: 125.7 kB / 1.017 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/1.342, allocations: 4 kB / 1.017 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.342, allocations: 0 / 1.017 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/1.342, allocations: 3.906 kB / 1.017 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008715/1.343, allocations: 55.33 kB / 1.017 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/1.343, allocations: 4.375 kB / 1.017 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/1.343, allocations: 31.97 kB / 1.017 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/1.343, allocations: 0 / 1.017 GB, free: 4.195 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001986/1.344, allocations: 105 kB / 1.017 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/1.344, allocations: 19.75 kB / 1.017 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.742e-05/1.344, allocations: 20.36 kB / 1.017 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.344, allocations: 0 / 1.017 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.344, allocations: 0 / 1.017 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/1.344, allocations: 0 / 1.017 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006011/1.345, allocations: 207 kB / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.345, allocations: 0 / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000825/1.345, allocations: 55.89 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/1.345, allocations: 0 / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.346, allocations: 4.672 kB / 1.017 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/1.346, allocations: 0 / 1.017 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/1.346, allocations: 0 / 1.017 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000899/1.347, allocations: 229.3 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001022/1.348, allocations: 0.5913 MB / 1.018 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/1.348, allocations: 92.89 kB / 1.018 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/1.348, allocations: 4 kB / 1.018 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008191/1.349, allocations: 31.97 kB / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/1.349, allocations: 37.36 kB / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/1.349, allocations: 7.312 kB / 1.018 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001546/1.349, allocations: 107.8 kB / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001185/1.351, allocations: 28 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001937/1.351, allocations: 103.2 kB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003579/1.351, allocations: 93.41 kB / 1.018 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.351, allocations: 0 / 1.018 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/1.351, allocations: 61.92 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/1.352, allocations: 23.7 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008551/1.353, allocations: 168 kB / 1.019 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/1.353, allocations: 0.7344 MB / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/1.353, allocations: 0 / 1.019 GB, free: 1.527 MB / 0.6355 GB