Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.534/4.534, allocations: 433 MB / 440.3 MB, free: 24.7 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3185/4.852, allocations: 104.4 MB / 0.532 GB, free: 4.434 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/5.535, allocations: 98.69 MB / 0.6283 GB, free: 0.6914 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/5.798, allocations: 125.7 MB / 0.7511 GB, free: 3.418 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004258/5.799, allocations: 87.81 kB / 0.7512 GB, free: 3.336 MB / 0.6121 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 372 * Number of variables: 372 Notification: Performance of Generate backend data structure: time 0.1216/5.921, allocations: 19.25 MB / 0.77 GB, free: 4 kB / 0.6277 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001362/5.921, allocations: 8.047 kB / 0.77 GB, free: 15.99 MB / 0.6433 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/5.922, allocations: 177.8 kB / 0.7702 GB, free: 15.82 MB / 0.6433 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/5.926, allocations: 0.791 MB / 0.771 GB, free: 14.99 MB / 0.6433 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/5.926, allocations: 48 kB / 0.771 GB, free: 14.94 MB / 0.6433 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007758/5.927, allocations: 87.91 kB / 0.7711 GB, free: 14.86 MB / 0.6433 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006738/5.934, allocations: 1.099 MB / 0.7722 GB, free: 13.75 MB / 0.6433 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006525/5.94, allocations: 1.048 MB / 0.7732 GB, free: 12.69 MB / 0.6433 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.017e-05/5.94, allocations: 7.938 kB / 0.7732 GB, free: 12.68 MB / 0.6433 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/5.941, allocations: 224 / 0.7732 GB, free: 12.68 MB / 0.6433 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-05/5.941, allocations: 36 kB / 0.7732 GB, free: 12.64 MB / 0.6433 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/5.961, allocations: 3.83 MB / 0.777 GB, free: 8.766 MB / 0.6433 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005557/5.967, allocations: 0.9336 MB / 0.7779 GB, free: 7.824 MB / 0.6433 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/5.969, allocations: 407.8 kB / 0.7783 GB, free: 7.426 MB / 0.6433 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/5.969, allocations: 16.98 kB / 0.7783 GB, free: 7.406 MB / 0.6433 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.127e-05/5.97, allocations: 55.86 kB / 0.7784 GB, free: 7.344 MB / 0.6433 GB Notification: Performance of pre-optimization done (n=116): time 5.941e-06/5.97, allocations: 3.938 kB / 0.7784 GB, free: 7.34 MB / 0.6433 GB Notification: Performance of matching and sorting (n=116): time 0.004844/5.974, allocations: 0.9084 MB / 0.7792 GB, free: 6.422 MB / 0.6433 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/5.975, allocations: 60.41 kB / 0.7793 GB, free: 6.352 MB / 0.6433 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/5.976, allocations: 0.5275 MB / 0.7798 GB, free: 5.816 MB / 0.6433 GB Notification: Performance of collectPreVariables (initialization): time 0.0003341/5.977, allocations: 29.7 kB / 0.7798 GB, free: 5.781 MB / 0.6433 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006004/5.977, allocations: 487.4 kB / 0.7803 GB, free: 5.297 MB / 0.6433 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008564/5.978, allocations: 366.5 kB / 0.7807 GB, free: 4.934 MB / 0.6433 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/5.978, allocations: 0 / 0.7807 GB, free: 4.934 MB / 0.6433 GB Notification: Performance of setup shared object (initialization): time 0.0002534/5.979, allocations: 353.9 kB / 0.781 GB, free: 4.582 MB / 0.6433 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/5.981, allocations: 342 kB / 0.7813 GB, free: 4.246 MB / 0.6433 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/5.982, allocations: 450.9 kB / 0.7818 GB, free: 3.785 MB / 0.6433 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/5.984, allocations: 390.9 kB / 0.7821 GB, free: 3.406 MB / 0.6433 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/5.984, allocations: 8 kB / 0.7821 GB, free: 3.398 MB / 0.6433 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003413/5.987, allocations: 0.9632 MB / 0.7831 GB, free: 2.43 MB / 0.6433 GB Notification: Performance of prepare postOptimizeDAE: time 7.91e-05/5.987, allocations: 100.9 kB / 0.7832 GB, free: 2.328 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/5.987, allocations: 0 / 0.7832 GB, free: 2.328 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/5.987, allocations: 4 kB / 0.7832 GB, free: 2.324 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/5.99, allocations: 267.7 kB / 0.7834 GB, free: 2.062 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.718e-05/5.99, allocations: 4 kB / 0.7834 GB, free: 2.059 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/5.992, allocations: 179 kB / 0.7836 GB, free: 1.883 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/5.992, allocations: 39.98 kB / 0.7836 GB, free: 1.844 MB / 0.6433 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/5.992, allocations: 4 kB / 0.7837 GB, free: 1.84 MB / 0.6433 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002869/5.995, allocations: 0.8104 MB / 0.7844 GB, free: 1.027 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/5.995, allocations: 0 / 0.7844 GB, free: 1.027 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/5.995, allocations: 7.984 kB / 0.7844 GB, free: 1.02 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/5.998, allocations: 215.7 kB / 0.7847 GB, free: 0.8086 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/5.998, allocations: 8 kB / 0.7847 GB, free: 0.8008 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/6, allocations: 111.2 kB / 0.7848 GB, free: 0.6914 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/6, allocations: 28 kB / 0.7848 GB, free: 0.6641 MB / 0.6433 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 (125): * Single equations (assignments): 125 * 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.0004157/6, allocations: 124.7 kB / 0.7849 GB, free: 0.5352 MB / 0.6433 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004196/6.001, allocations: 102.8 kB / 0.785 GB, free: 444 kB / 0.6433 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004355/6.005, allocations: 1.138 MB / 0.7861 GB, free: 15.29 MB / 0.6589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/6.005, allocations: 12 kB / 0.7861 GB, free: 15.27 MB / 0.6589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/6.005, allocations: 7.891 kB / 0.7861 GB, free: 15.27 MB / 0.6589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/6.005, allocations: 3.984 kB / 0.7861 GB, free: 15.26 MB / 0.6589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/6.02, allocations: 4.342 MB / 0.7904 GB, free: 10.69 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.724e-05/6.02, allocations: 15.94 kB / 0.7904 GB, free: 10.67 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/6.023, allocations: 272.5 kB / 0.7907 GB, free: 10.41 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.736e-05/6.023, allocations: 24 kB / 0.7907 GB, free: 10.38 MB / 0.6589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/6.023, allocations: 35.92 kB / 0.7907 GB, free: 10.35 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-05/6.023, allocations: 31.86 kB / 0.7907 GB, free: 10.32 MB / 0.6589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.196e-05/6.023, allocations: 19.94 kB / 0.7908 GB, free: 10.3 MB / 0.6589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005028/6.028, allocations: 2.25 MB / 0.793 GB, free: 7.473 MB / 0.6589 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00498/6.033, allocations: 2.642 MB / 0.7955 GB, free: 4.258 MB / 0.6589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004675/6.034, allocations: 215.5 kB / 0.7958 GB, free: 4.027 MB / 0.6589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/6.034, allocations: 19.98 kB / 0.7958 GB, free: 4.008 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/6.036, allocations: 159.8 kB / 0.7959 GB, free: 3.852 MB / 0.6589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/6.037, allocations: 104.3 kB / 0.796 GB, free: 3.75 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/6.037, allocations: 52 kB / 0.7961 GB, free: 3.699 MB / 0.6589 GB Notification: Performance of sort global known variables: time 0.0009934/6.038, allocations: 431.2 kB / 0.7965 GB, free: 3.281 MB / 0.6589 GB Notification: Performance of remove unused functions: time 0.004511/6.043, allocations: 489 kB / 0.7969 GB, free: 2.801 MB / 0.6589 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 (134): * Single equations (assignments): 134 * 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.0006034/6.043, allocations: 139 kB / 0.7971 GB, free: 2.652 MB / 0.6589 GB Notification: Performance of simCode: created initialization part: time 0.005463/6.049, allocations: 1.403 MB / 0.7985 GB, free: 1.254 MB / 0.6589 GB Notification: Performance of simCode: created event and clocks part: time 2.079e-05/6.049, allocations: 192 / 0.7985 GB, free: 1.254 MB / 0.6589 GB Notification: Performance of simCode: created simulation system equations: time 0.00261/6.052, allocations: 0.5598 MB / 0.799 GB, free: 0.6992 MB / 0.6589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/6.053, allocations: 127.1 kB / 0.7991 GB, free: 0.5742 MB / 0.6589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008396/6.062, allocations: 2.032 MB / 0.8011 GB, free: 14.31 MB / 0.6746 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002416/6.064, allocations: 1.304 MB / 0.8024 GB, free: 12.98 MB / 0.6746 GB Notification: Performance of SimCode: time 1.633e-06/6.064, allocations: 4 kB / 0.8024 GB, free: 12.98 MB / 0.6746 GB