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.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.231/4.231, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6275/4.859, allocations: 104.3 MB / 0.5319 GB, free: 12.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/5.144, allocations: 98.73 MB / 0.6283 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2747/5.419, allocations: 124.2 MB / 0.7496 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/5.42, allocations: 87.59 kB / 0.7497 GB, free: 13.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0135/5.433, allocations: 2.667 MB / 0.7523 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.889e-05/5.433, allocations: 16 kB / 0.7523 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/5.433, allocations: 3.984 kB / 0.7523 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/5.434, allocations: 170.9 kB / 0.7524 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/5.434, allocations: 0 / 0.7524 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/5.434, allocations: 4 kB / 0.7524 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001182/5.434, allocations: 8 kB / 0.7525 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/5.434, allocations: 63.38 kB / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/5.434, allocations: 0 / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/5.434, allocations: 0 / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/5.434, allocations: 4 kB / 0.7525 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000652/5.435, allocations: 241.4 kB / 0.7527 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/5.435, allocations: 34.58 kB / 0.7528 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.027e-05/5.435, allocations: 12.94 kB / 0.7528 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/5.435, allocations: 0 / 0.7528 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/5.435, allocations: 59.41 kB / 0.7528 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.226e-06/5.436, allocations: 4 kB / 0.7529 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0003279/5.436, allocations: 53.53 kB / 0.7529 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/5.436, allocations: 81.11 kB / 0.753 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/5.436, allocations: 97 kB / 0.7531 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/5.436, allocations: 25.7 kB / 0.7531 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/5.436, allocations: 84.12 kB / 0.7532 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/5.436, allocations: 11.81 kB / 0.7532 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-06/5.436, allocations: 4 kB / 0.7532 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000224/5.437, allocations: 314.8 kB / 0.7535 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/5.437, allocations: 15.94 kB / 0.7535 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.881e-05/5.437, allocations: 21.7 kB / 0.7535 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.488e-05/5.437, allocations: 12 kB / 0.7535 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/5.437, allocations: 0 / 0.7535 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002629/5.437, allocations: 53.62 kB / 0.7536 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/5.437, allocations: 4 kB / 0.7536 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/5.437, allocations: 4.469 kB / 0.7536 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/5.437, allocations: 7.844 kB / 0.7536 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/5.438, allocations: 8 kB / 0.7536 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/5.438, allocations: 0 / 0.7536 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/5.438, allocations: 19.92 kB / 0.7536 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/5.438, allocations: 4 kB / 0.7536 GB, free: 9.02 MB / 0.6355 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 (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.0001805/5.438, allocations: 101 kB / 0.7537 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/5.438, allocations: 11.91 kB / 0.7537 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/5.438, allocations: 3.688 kB / 0.7537 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/5.438, allocations: 0 / 0.7537 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.006e-06/5.438, allocations: 0 / 0.7537 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/5.438, allocations: 7.984 kB / 0.7538 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/5.439, allocations: 146.1 kB / 0.7539 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/5.439, allocations: 0 / 0.7539 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/5.439, allocations: 4 kB / 0.7539 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/5.439, allocations: 0 / 0.7539 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/5.439, allocations: 4 kB / 0.7539 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/5.439, allocations: 4 kB / 0.7539 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/5.439, allocations: 0 / 0.7539 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002937/5.439, allocations: 88.95 kB / 0.754 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004672/5.44, allocations: 455 kB / 0.7544 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/5.44, allocations: 93.12 kB / 0.7545 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/5.44, allocations: 4 kB / 0.7545 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/5.44, allocations: 11.98 kB / 0.7545 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/5.44, allocations: 0 / 0.7545 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/5.44, allocations: 0 / 0.7545 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001149/5.441, allocations: 87.28 kB / 0.7546 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002662/5.443, allocations: 15.89 kB / 0.7546 GB, free: 7.902 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0002861/5.444, allocations: 111.2 kB / 0.7547 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002086/5.444, allocations: 31.94 kB / 0.7548 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/5.444, allocations: 0 / 0.7548 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/5.444, allocations: 12 kB / 0.7548 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/5.444, allocations: 3.984 kB / 0.7548 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/5.445, allocations: 74.36 kB / 0.7549 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/5.445, allocations: 0.6993 MB / 0.7555 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of SimCode: time 2.334e-06/5.445, allocations: 0 / 0.7555 GB, free: 6.918 MB / 0.6355 GB