Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.186/4.186, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5642/4.75, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/5.008, allocations: 98.73 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/5.255, allocations: 124.4 MB / 0.7498 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/5.255, allocations: 79.58 kB / 0.7499 GB, free: 13.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0126/5.268, allocations: 2.393 MB / 0.7522 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/5.268, allocations: 15.94 kB / 0.7522 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/5.268, allocations: 7.906 kB / 0.7522 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/5.268, allocations: 174.9 kB / 0.7524 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.79e-05/5.268, allocations: 29.7 kB / 0.7524 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/5.269, allocations: 4 kB / 0.7524 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001194/5.269, allocations: 20 kB / 0.7525 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/5.269, allocations: 49.62 kB / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/5.269, allocations: 0 / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/5.269, allocations: 0 / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/5.269, allocations: 4 kB / 0.7525 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/5.27, allocations: 281.3 kB / 0.7528 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/5.27, allocations: 39.3 kB / 0.7528 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/5.27, allocations: 16.86 kB / 0.7528 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/5.27, allocations: 3.906 kB / 0.7528 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/5.27, allocations: 38.5 kB / 0.7529 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.814e-06/5.27, allocations: 0 / 0.7529 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002412/5.27, allocations: 49.78 kB / 0.7529 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/5.27, allocations: 55.41 kB / 0.753 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/5.27, allocations: 105 kB / 0.7531 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/5.27, allocations: 25.7 kB / 0.7531 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/5.27, allocations: 88.03 kB / 0.7532 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/5.27, allocations: 19.75 kB / 0.7532 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/5.27, allocations: 0 / 0.7532 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001957/5.271, allocations: 314.8 kB / 0.7535 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/5.271, allocations: 8 kB / 0.7535 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/5.271, allocations: 21.72 kB / 0.7535 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.872e-05/5.271, allocations: 19.97 kB / 0.7536 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/5.271, allocations: 0 / 0.7536 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002067/5.271, allocations: 61.59 kB / 0.7536 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/5.271, allocations: 4 kB / 0.7536 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/5.271, allocations: 128 / 0.7536 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/5.271, allocations: 8 kB / 0.7536 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/5.272, allocations: 15.98 kB / 0.7536 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/5.272, allocations: 4.031 kB / 0.7536 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/5.272, allocations: 11.98 kB / 0.7537 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/5.272, allocations: 0 / 0.7537 GB, free: 9.012 MB / 0.6355 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 (5): * Single equations (assignments): 5 * 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.0001543/5.272, allocations: 116.8 kB / 0.7538 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/5.272, allocations: 0 / 0.7538 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/5.272, allocations: 8 kB / 0.7538 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/5.272, allocations: 11.94 kB / 0.7538 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/5.272, allocations: 0 / 0.7538 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/5.272, allocations: 3.906 kB / 0.7538 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/5.272, allocations: 150.2 kB / 0.7539 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/5.272, allocations: 0 / 0.7539 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/5.273, allocations: 15.98 kB / 0.7539 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/5.273, allocations: 0 / 0.7539 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/5.273, allocations: 0 / 0.7539 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/5.273, allocations: 4 kB / 0.754 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/5.273, allocations: 0 / 0.754 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002035/5.273, allocations: 151.5 kB / 0.7541 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003289/5.273, allocations: 0.5154 MB / 0.7546 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/5.273, allocations: 81.02 kB / 0.7547 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/5.273, allocations: 8 kB / 0.7547 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/5.274, allocations: 11.98 kB / 0.7547 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/5.274, allocations: 7.984 kB / 0.7547 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/5.274, allocations: 0 / 0.7547 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.721e-05/5.274, allocations: 87.28 kB / 0.7548 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001169/5.275, allocations: 15.91 kB / 0.7548 GB, free: 7.734 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001696/5.275, allocations: 99.23 kB / 0.7549 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001596/5.275, allocations: 27.94 kB / 0.7549 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/5.275, allocations: 0 / 0.7549 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.791e-05/5.275, allocations: 12 kB / 0.7549 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/5.276, allocations: 4 kB / 0.7549 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/5.276, allocations: 93.3 kB / 0.755 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/5.277, allocations: 0.6954 MB / 0.7557 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/5.277, allocations: 3.938 kB / 0.7557 GB, free: 6.742 MB / 0.6355 GB