Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.141/4.141, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5505/4.692, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/4.986, allocations: 98.73 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2781/5.264, allocations: 126.9 MB / 0.7523 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/5.264, allocations: 83.59 kB / 0.7523 GB, free: 10.58 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.05529/5.32, allocations: 9.815 MB / 0.7619 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/5.32, allocations: 8 kB / 0.7619 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/5.32, allocations: 35.61 kB / 0.762 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/5.32, allocations: 275.7 kB / 0.7622 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/5.321, allocations: 4 kB / 0.7622 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/5.321, allocations: 12 kB / 0.7622 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002292/5.323, allocations: 0.7803 MB / 0.763 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008907/5.324, allocations: 208.1 kB / 0.7632 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/5.324, allocations: 0 / 0.7632 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.782e-05/5.324, allocations: 0 / 0.7632 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/5.324, allocations: 15.83 kB / 0.7632 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/5.327, allocations: 0.6139 MB / 0.7638 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/5.328, allocations: 301.5 kB / 0.7641 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/5.328, allocations: 109.4 kB / 0.7642 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/5.329, allocations: 16.25 kB / 0.7642 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006311/5.329, allocations: 187.4 kB / 0.7644 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 4.819e-06/5.329, allocations: 0 / 0.7644 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.001341/5.331, allocations: 285.2 kB / 0.7647 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/5.331, allocations: 106.8 kB / 0.7648 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/5.331, allocations: 255 kB / 0.765 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.72e-05/5.332, allocations: 25.7 kB / 0.765 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/5.332, allocations: 108.7 kB / 0.7651 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/5.332, allocations: 110.3 kB / 0.7653 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/5.332, allocations: 0 / 0.7653 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002124/5.332, allocations: 338.8 kB / 0.7656 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/5.333, allocations: 99.97 kB / 0.7657 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/5.333, allocations: 126.3 kB / 0.7658 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/5.334, allocations: 127.6 kB / 0.7659 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/5.334, allocations: 0 / 0.7659 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001423/5.335, allocations: 321.7 kB / 0.7662 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/5.335, allocations: 4 kB / 0.7662 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/5.335, allocations: 0 / 0.7662 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/5.335, allocations: 7.984 kB / 0.7662 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/5.336, allocations: 71.84 kB / 0.7663 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/5.336, allocations: 0 / 0.7663 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/5.336, allocations: 15.84 kB / 0.7663 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.777e-05/5.337, allocations: 23.92 kB / 0.7663 GB, free: 11.97 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.0002269/5.337, allocations: 108.8 kB / 0.7664 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/5.337, allocations: 27.72 kB / 0.7665 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/5.339, allocations: 420.5 kB / 0.7669 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/5.339, allocations: 8 kB / 0.7669 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/5.339, allocations: 0 / 0.7669 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/5.339, allocations: 3.984 kB / 0.7669 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008437/5.34, allocations: 317.7 kB / 0.7672 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/5.34, allocations: 0 / 0.7672 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/5.341, allocations: 59.91 kB / 0.7672 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/5.341, allocations: 0 / 0.7672 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/5.341, allocations: 11.98 kB / 0.7672 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/5.341, allocations: 4 kB / 0.7673 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/5.341, allocations: 3.906 kB / 0.7673 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001309/5.342, allocations: 329.8 kB / 0.7676 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001594/5.344, allocations: 0.7018 MB / 0.7683 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/5.344, allocations: 164.6 kB / 0.7684 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/5.345, allocations: 3.906 kB / 0.7684 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/5.345, allocations: 23.98 kB / 0.7684 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/5.345, allocations: 23.97 kB / 0.7685 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.907e-05/5.345, allocations: 15.98 kB / 0.7685 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005868/5.346, allocations: 209.6 kB / 0.7687 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002178/5.348, allocations: 68 kB / 0.7687 GB, free: 9.391 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009213/5.349, allocations: 287.4 kB / 0.769 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008355/5.35, allocations: 285.4 kB / 0.7693 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/5.35, allocations: 4 kB / 0.7693 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004144/5.35, allocations: 127.9 kB / 0.7694 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/5.351, allocations: 28.5 kB / 0.7694 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/5.353, allocations: 420.9 kB / 0.7698 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006962/5.353, allocations: 0.8237 MB / 0.7706 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/5.353, allocations: 0 / 0.7706 GB, free: 7.406 MB / 0.6511 GB