Running: ./testmodel.py --libraries=/var/lib/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 (/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.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u") [: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.356/2.356, allocations: 253.1 MB / 260.4 MB, free: 7.598 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.00237/0.00237, allocations: 181.2 kB / 319.6 MB, free: 3.281 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 2.15/2.15, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.00192/0.00192, allocations: 94.33 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.703e-05, allocations: 8 kB / 0.7844 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.266, allocations: 106.3 MB / 0.8881 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7208/0.9869, allocations: 133.8 MB / 1.019 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/0.9874, allocations: 81.59 kB / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.09095/1.078, allocations: 18.23 MB / 1.037 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001409/1.079, allocations: 44 kB / 1.037 GB, free: 4.93 MB / 0.6511 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.005581/1.084, allocations: 1.601 MB / 1.038 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.084, allocations: 8.031 kB / 1.038 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000848/1.085, allocations: 185.8 kB / 1.038 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/1.087, allocations: 0.8057 MB / 1.039 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/1.087, allocations: 52 kB / 1.039 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/1.088, allocations: 88 kB / 1.039 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004319/1.092, allocations: 1.138 MB / 1.041 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004186/1.096, allocations: 1.082 MB / 1.042 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/1.096, allocations: 4 kB / 1.042 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/1.097, allocations: 4 kB / 1.042 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-05/1.097, allocations: 36 kB / 1.042 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/1.111, allocations: 3.965 MB / 1.045 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003838/1.115, allocations: 0.9595 MB / 1.046 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/1.117, allocations: 416.1 kB / 1.047 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/1.117, allocations: 16.98 kB / 1.047 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/1.117, allocations: 51.38 kB / 1.047 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=119): time 5.47e-06/1.117, allocations: 0 / 1.047 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=119): time 0.003217/1.12, allocations: 0.9176 MB / 1.048 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/1.12, allocations: 64.41 kB / 1.048 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/1.122, allocations: 0.5427 MB / 1.048 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002985/1.122, allocations: 25.7 kB / 1.048 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/1.122, allocations: 0.4926 MB / 1.049 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005744/1.123, allocations: 389.8 kB / 1.049 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/1.123, allocations: 0 / 1.049 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002174/1.123, allocations: 342.8 kB / 1.05 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/1.125, allocations: 354.2 kB / 1.05 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/1.126, allocations: 457.2 kB / 1.05 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/1.127, allocations: 401.9 kB / 1.051 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.127, allocations: 0 / 1.051 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003712/1.131, allocations: 0.9901 MB / 1.052 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.131, allocations: 100 kB / 1.052 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/1.131, allocations: 7.938 kB / 1.052 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.915e-05/1.131, allocations: 8 kB / 1.052 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/1.135, allocations: 269.8 kB / 1.052 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/1.135, allocations: 4 kB / 1.052 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/1.138, allocations: 179.2 kB / 1.052 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/1.139, allocations: 39.42 kB / 1.052 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.139, allocations: 4 kB / 1.052 GB, free: 8.805 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005593/1.144, allocations: 0.8281 MB / 1.053 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/1.145, allocations: 7.891 kB / 1.053 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/1.145, allocations: 4 kB / 1.053 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003373/1.148, allocations: 226.8 kB / 1.053 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/1.148, allocations: 4 kB / 1.053 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/1.15, allocations: 117.9 kB / 1.053 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/1.15, allocations: 30.06 kB / 1.053 GB, free: 7.914 MB / 0.6667 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.0003817/1.151, allocations: 112.8 kB / 1.054 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/1.151, allocations: 109.9 kB / 1.054 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/1.155, allocations: 1.152 MB / 1.055 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/1.155, allocations: 16 kB / 1.055 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.155, allocations: 0 / 1.055 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/1.155, allocations: 11.97 kB / 1.055 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/1.167, allocations: 4.398 MB / 1.059 GB, free: 3.801 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.167, allocations: 15.94 kB / 1.059 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.17, allocations: 283.4 kB / 1.059 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-05/1.17, allocations: 24 kB / 1.059 GB, free: 3.492 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/1.17, allocations: 22.94 kB / 1.059 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.049e-05/1.17, allocations: 27.98 kB / 1.059 GB, free: 3.445 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.822e-05/1.17, allocations: 27.88 kB / 1.06 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004171/1.174, allocations: 2.271 MB / 1.062 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/1.175, allocations: 212.6 kB / 1.062 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/1.175, allocations: 19.98 kB / 1.062 GB, free: 0.7578 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/1.177, allocations: 155.5 kB / 1.062 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/1.177, allocations: 111.7 kB / 1.062 GB, free: 0.5156 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.177, allocations: 56.38 kB / 1.062 GB, free: 480 kB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008615/1.178, allocations: 430.5 kB / 1.063 GB, free: 176 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002157/1.18, allocations: 496.9 kB / 1.063 GB, free: 15.68 MB / 0.6823 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.0003641/1.181, allocations: 149.9 kB / 1.063 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004334/1.185, allocations: 1.429 MB / 1.065 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/1.185, allocations: 4.188 kB / 1.065 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001933/1.187, allocations: 0.5635 MB / 1.065 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/1.188, allocations: 121.4 kB / 1.065 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007135/1.196, allocations: 2.085 MB / 1.067 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002004/1.198, allocations: 1.326 MB / 1.069 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/1.198, allocations: 4 kB / 1.069 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.05125/1.249, allocations: 16.13 MB / 1.084 GB, free: 10.74 MB / 0.698 GB