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_T.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_T,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",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.26/2.26, allocations: 248.6 MB / 255.9 MB, free: 7.094 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.003233/0.003232, allocations: 188.1 kB / 315.1 MB, free: 4.27 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.899/1.899, allocations: 205.1 MB / 0.5658 GB, free: 364 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.001446/0.001445, allocations: 102.8 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4832/0.4847, allocations: 112.5 MB / 0.7798 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.6987, allocations: 106.2 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6388/1.338, allocations: 133.8 MB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.338, allocations: 75.5 kB / 1.014 GB, free: 6.344 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.03128/1.369, allocations: 7.28 MB / 1.021 GB, free: 88 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.369, allocations: 12 kB / 1.021 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/1.37, allocations: 67.16 kB / 1.021 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007937/1.37, allocations: 392.9 kB / 1.022 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/1.37, allocations: 16 kB / 1.022 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/1.37, allocations: 32 kB / 1.022 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001304/1.372, allocations: 404.1 kB / 1.022 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/1.373, allocations: 407.5 kB / 1.023 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/1.373, allocations: 0 / 1.023 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/1.373, allocations: 0 / 1.023 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/1.373, allocations: 12 kB / 1.023 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004582/1.378, allocations: 1.489 MB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/1.379, allocations: 365.1 kB / 1.024 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/1.38, allocations: 121.8 kB / 1.025 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/1.38, allocations: 4 kB / 1.025 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/1.38, allocations: 49.64 kB / 1.025 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 2.965e-06/1.38, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.0009405/1.381, allocations: 293 kB / 1.025 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/1.381, allocations: 62.84 kB / 1.025 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/1.381, allocations: 296.4 kB / 1.025 GB, free: 13 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/1.381, allocations: 25.7 kB / 1.025 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/1.382, allocations: 244.3 kB / 1.026 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/1.382, allocations: 115.6 kB / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/1.382, allocations: 3.938 kB / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.382, allocations: 351.5 kB / 1.026 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/1.382, allocations: 119.2 kB / 1.026 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/1.383, allocations: 167.2 kB / 1.026 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/1.383, allocations: 133.9 kB / 1.026 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.383, allocations: 0 / 1.026 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001061/1.384, allocations: 366.9 kB / 1.027 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.384, allocations: 186.5 kB / 1.027 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.384, allocations: 3.984 kB / 1.027 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/1.384, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/1.385, allocations: 91.88 kB / 1.027 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/1.385, allocations: 4 kB / 1.027 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006813/1.386, allocations: 67.56 kB / 1.027 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/1.386, allocations: 15.61 kB / 1.027 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.386, allocations: 6.969 kB / 1.027 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000958/1.387, allocations: 294.2 kB / 1.027 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/1.387, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/1.387, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/1.388, allocations: 82.59 kB / 1.027 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/1.388, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/1.389, allocations: 43.72 kB / 1.027 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/1.389, allocations: 14.88 kB / 1.027 GB, free: 11.11 MB / 0.6511 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 (44): * Single equations (assignments): 44 * 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.0001746/1.389, allocations: 104.9 kB / 1.028 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/1.389, allocations: 35.53 kB / 1.028 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/1.389, allocations: 51.44 kB / 1.028 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.389, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.389, allocations: 4 kB / 1.028 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.389, allocations: 3.984 kB / 1.028 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/1.392, allocations: 1.166 MB / 1.029 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.392, allocations: 4 kB / 1.029 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007324/1.393, allocations: 80.44 kB / 1.029 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.162e-05/1.393, allocations: 8 kB / 1.029 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/1.393, allocations: 11.92 kB / 1.029 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/1.393, allocations: 11.91 kB / 1.029 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.83e-05/1.393, allocations: 7.938 kB / 1.029 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001338/1.394, allocations: 0.7378 MB / 1.03 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001427/1.396, allocations: 1.128 MB / 1.031 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/1.396, allocations: 131 kB / 1.031 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/1.396, allocations: 4 kB / 1.031 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007426/1.397, allocations: 55.95 kB / 1.031 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.397, allocations: 38 kB / 1.031 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/1.397, allocations: 14.81 kB / 1.031 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004433/1.397, allocations: 229 kB / 1.031 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002867/1.4, allocations: 178.9 kB / 1.031 GB, free: 7.25 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.0005318/1.401, allocations: 115.1 kB / 1.031 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002229/1.403, allocations: 471.6 kB / 1.032 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.403, allocations: 0 / 1.032 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005194/1.404, allocations: 155 kB / 1.032 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/1.404, allocations: 40.77 kB / 1.032 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/1.407, allocations: 0.7023 MB / 1.033 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.408, allocations: 0.9046 MB / 1.034 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.408, allocations: 0 / 1.034 GB, free: 5.082 MB / 0.6511 GB