Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",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.254/2.254, allocations: 248.6 MB / 255.9 MB, free: 1.188 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001696/0.001695, allocations: 187.5 kB / 315.1 MB, free: 9.598 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.1 MB / 0.5658 GB, free: 14.06 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 88 kB / 0.6699 GB, free: 52 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2739/0.2752, allocations: 112.5 MB / 0.7798 GB, free: 10.58 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.547, allocations: 106.2 MB / 0.8835 GB, free: 232 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6544/1.201, allocations: 132.8 MB / 1.013 GB, free: 13.8 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.202, allocations: 75.94 kB / 1.013 GB, free: 13.73 MB / 0.659 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.08729/1.289, allocations: 19.88 MB / 1.033 GB, free: 10.04 MB / 0.6746 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.289, allocations: 8 kB / 1.033 GB, free: 10.04 MB / 0.6746 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007351/1.29, allocations: 189.8 kB / 1.033 GB, free: 9.848 MB / 0.6746 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/1.292, allocations: 0.8067 MB / 1.034 GB, free: 9.004 MB / 0.6746 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/1.292, allocations: 48 kB / 1.034 GB, free: 8.957 MB / 0.6746 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/1.293, allocations: 88 kB / 1.034 GB, free: 8.871 MB / 0.6746 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004666/1.297, allocations: 1.131 MB / 1.035 GB, free: 7.738 MB / 0.6746 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004361/1.302, allocations: 1.09 MB / 1.036 GB, free: 6.633 MB / 0.6746 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/1.302, allocations: 0 / 1.036 GB, free: 6.633 MB / 0.6746 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/1.302, allocations: 4 kB / 1.036 GB, free: 6.629 MB / 0.6746 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-05/1.302, allocations: 37.12 kB / 1.036 GB, free: 6.594 MB / 0.6746 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/1.317, allocations: 3.962 MB / 1.04 GB, free: 2.609 MB / 0.6746 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00382/1.321, allocations: 0.9498 MB / 1.041 GB, free: 1.656 MB / 0.6746 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/1.322, allocations: 408 kB / 1.041 GB, free: 1.254 MB / 0.6746 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/1.322, allocations: 32.91 kB / 1.041 GB, free: 1.223 MB / 0.6746 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/1.322, allocations: 51.75 kB / 1.041 GB, free: 1.164 MB / 0.6746 GB Notification: Performance of pre-optimization done (n=119): time 5.921e-06/1.322, allocations: 0.8906 kB / 1.041 GB, free: 1.164 MB / 0.6746 GB Notification: Performance of matching and sorting (n=119): time 0.003126/1.325, allocations: 0.9202 MB / 1.042 GB, free: 244 kB / 0.6746 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/1.326, allocations: 64.41 kB / 1.042 GB, free: 168 kB / 0.6746 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/1.327, allocations: 0.5391 MB / 1.043 GB, free: 15.62 MB / 0.6902 GB Notification: Performance of collectPreVariables (initialization): time 0.0002405/1.327, allocations: 29.7 kB / 1.043 GB, free: 15.58 MB / 0.6902 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/1.328, allocations: 0.4883 MB / 1.043 GB, free: 15.08 MB / 0.6902 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005268/1.328, allocations: 386.1 kB / 1.044 GB, free: 14.7 MB / 0.6902 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.328, allocations: 0 / 1.044 GB, free: 14.7 MB / 0.6902 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.328, allocations: 345.9 kB / 1.044 GB, free: 14.36 MB / 0.6902 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/1.33, allocations: 350.6 kB / 1.044 GB, free: 14.01 MB / 0.6902 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/1.331, allocations: 463.6 kB / 1.045 GB, free: 13.54 MB / 0.6902 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/1.333, allocations: 407.7 kB / 1.045 GB, free: 13.14 MB / 0.6902 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/1.333, allocations: 3.984 kB / 1.045 GB, free: 13.14 MB / 0.6902 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003382/1.336, allocations: 0.9855 MB / 1.046 GB, free: 12.15 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/1.336, allocations: 104.7 kB / 1.046 GB, free: 12.04 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.336, allocations: 0 / 1.046 GB, free: 12.04 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/1.336, allocations: 4 kB / 1.046 GB, free: 12.04 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002926/1.339, allocations: 275.7 kB / 1.047 GB, free: 11.77 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/1.339, allocations: 4 kB / 1.047 GB, free: 11.76 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/1.341, allocations: 182.4 kB / 1.047 GB, free: 11.59 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/1.341, allocations: 35.98 kB / 1.047 GB, free: 11.55 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.341, allocations: 7.938 kB / 1.047 GB, free: 11.54 MB / 0.6902 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002763/1.344, allocations: 0.8328 MB / 1.048 GB, free: 10.71 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.344, allocations: 7.844 kB / 1.048 GB, free: 10.7 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.344, allocations: 4 kB / 1.048 GB, free: 10.7 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/1.347, allocations: 219.7 kB / 1.048 GB, free: 10.48 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/1.347, allocations: 8.812 kB / 1.048 GB, free: 10.48 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.348, allocations: 115.2 kB / 1.048 GB, free: 10.36 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/1.348, allocations: 31.98 kB / 1.048 GB, free: 10.33 MB / 0.6902 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 128 * 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.0004318/1.349, allocations: 116.8 kB / 1.048 GB, free: 10.21 MB / 0.6902 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004206/1.349, allocations: 108.3 kB / 1.048 GB, free: 10.11 MB / 0.6902 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004201/1.353, allocations: 1.15 MB / 1.049 GB, free: 8.945 MB / 0.6902 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/1.353, allocations: 12 kB / 1.049 GB, free: 8.934 MB / 0.6902 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.353, allocations: 4 kB / 1.049 GB, free: 8.93 MB / 0.6902 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/1.354, allocations: 7.969 kB / 1.049 GB, free: 8.922 MB / 0.6902 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/1.366, allocations: 4.397 MB / 1.054 GB, free: 4.289 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.617e-05/1.366, allocations: 16 kB / 1.054 GB, free: 4.273 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/1.369, allocations: 283.7 kB / 1.054 GB, free: 3.996 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.001e-05/1.369, allocations: 20 kB / 1.054 GB, free: 3.977 MB / 0.6902 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/1.369, allocations: 27.98 kB / 1.054 GB, free: 3.949 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-05/1.369, allocations: 23.88 kB / 1.054 GB, free: 3.926 MB / 0.6902 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.069e-05/1.369, allocations: 19.94 kB / 1.054 GB, free: 3.906 MB / 0.6902 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004412/1.374, allocations: 2.273 MB / 1.056 GB, free: 1.066 MB / 0.6902 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004607/1.378, allocations: 2.663 MB / 1.059 GB, free: 13.83 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/1.379, allocations: 211.5 kB / 1.059 GB, free: 13.6 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/1.379, allocations: 24.97 kB / 1.059 GB, free: 13.58 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/1.381, allocations: 153.6 kB / 1.059 GB, free: 13.43 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/1.382, allocations: 116.2 kB / 1.059 GB, free: 13.32 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.382, allocations: 63.98 kB / 1.059 GB, free: 13.25 MB / 0.7059 GB Notification: Performance of sort global known variables: time 0.0009316/1.383, allocations: 423.2 kB / 1.06 GB, free: 12.85 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.003981/1.387, allocations: 0.493 MB / 1.06 GB, free: 12.35 MB / 0.7059 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 137 * 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.0005277/1.387, allocations: 139 kB / 1.06 GB, free: 12.2 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 0.004787/1.392, allocations: 1.429 MB / 1.062 GB, free: 10.77 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 1.956e-05/1.392, allocations: 4.188 kB / 1.062 GB, free: 10.77 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 0.002015/1.394, allocations: 0.5628 MB / 1.062 GB, free: 10.21 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/1.396, allocations: 126.6 kB / 1.062 GB, free: 10.09 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00755/1.403, allocations: 2.066 MB / 1.064 GB, free: 7.801 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002624/1.406, allocations: 1.335 MB / 1.066 GB, free: 6.438 MB / 0.7059 GB Notification: Performance of SimCode: time 1.864e-06/1.406, allocations: 0 / 1.066 GB, free: 6.438 MB / 0.7059 GB