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.ConvertTime.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.ConvertTime,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.123/4.123, allocations: 433 MB / 440.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2603/4.383, allocations: 104.4 MB / 0.5319 GB, free: 2.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5297/4.913, allocations: 98.69 MB / 0.6283 GB, free: 116 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2459/5.159, allocations: 124.1 MB / 0.7495 GB, free: 3.836 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/5.159, allocations: 79.94 kB / 0.7496 GB, free: 3.758 MB / 0.6199 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.01295/5.172, allocations: 2.654 MB / 0.7522 GB, free: 1.055 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/5.172, allocations: 8 kB / 0.7522 GB, free: 1.047 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/5.173, allocations: 0 / 0.7522 GB, free: 1.047 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/5.173, allocations: 174.9 kB / 0.7523 GB, free: 0.8359 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/5.173, allocations: 0 / 0.7523 GB, free: 0.8359 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/5.173, allocations: 11.97 kB / 0.7523 GB, free: 0.8242 MB / 0.6199 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.781e-05/5.173, allocations: 8 kB / 0.7524 GB, free: 0.8164 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/5.173, allocations: 59.41 kB / 0.7524 GB, free: 0.7461 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/5.173, allocations: 0 / 0.7524 GB, free: 0.7461 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/5.173, allocations: 0 / 0.7524 GB, free: 0.7461 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/5.173, allocations: 3.938 kB / 0.7524 GB, free: 0.7422 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/5.174, allocations: 245.4 kB / 0.7527 GB, free: 476 kB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/5.174, allocations: 42.45 kB / 0.7527 GB, free: 424 kB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/5.174, allocations: 12.86 kB / 0.7527 GB, free: 408 kB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/5.174, allocations: 4 kB / 0.7527 GB, free: 404 kB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/5.174, allocations: 55.5 kB / 0.7528 GB, free: 336 kB / 0.6199 GB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/5.174, allocations: 0 / 0.7528 GB, free: 336 kB / 0.6199 GB Notification: Performance of matching and sorting (n=4): time 0.0002151/5.174, allocations: 49.59 kB / 0.7528 GB, free: 280 kB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/5.174, allocations: 85.09 kB / 0.7529 GB, free: 176 kB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/5.174, allocations: 100.9 kB / 0.753 GB, free: 68 kB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/5.174, allocations: 25.7 kB / 0.753 GB, free: 36 kB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/5.174, allocations: 88.14 kB / 0.7531 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/5.175, allocations: 11.75 kB / 0.7531 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/5.175, allocations: 0 / 0.7531 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001394/5.175, allocations: 314.8 kB / 0.7534 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/5.175, allocations: 12 kB / 0.7534 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/5.175, allocations: 25.72 kB / 0.7534 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.812e-05/5.175, allocations: 8.031 kB / 0.7534 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/5.175, allocations: 0 / 0.7534 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000142/5.175, allocations: 53.69 kB / 0.7535 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/5.175, allocations: 4 kB / 0.7535 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/5.175, allocations: 0 / 0.7535 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/5.175, allocations: 7.906 kB / 0.7535 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/5.175, allocations: 11.92 kB / 0.7535 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/5.175, allocations: 0 / 0.7535 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/5.175, allocations: 12.44 kB / 0.7535 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/5.175, allocations: 0 / 0.7535 GB, free: 15.47 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.0001027/5.176, allocations: 109 kB / 0.7536 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/5.176, allocations: 3.906 kB / 0.7536 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/5.176, allocations: 11.69 kB / 0.7537 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/5.176, allocations: 0 / 0.7537 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/5.176, allocations: 4 kB / 0.7537 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/5.176, allocations: 0 / 0.7537 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/5.176, allocations: 142.1 kB / 0.7538 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/5.176, allocations: 4 kB / 0.7538 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/5.176, allocations: 4 kB / 0.7538 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/5.176, allocations: 0 / 0.7538 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/5.176, allocations: 7.922 kB / 0.7538 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/5.176, allocations: 0 / 0.7538 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/5.176, allocations: 4 kB / 0.7538 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001839/5.176, allocations: 80.97 kB / 0.7539 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003236/5.176, allocations: 469.5 kB / 0.7543 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/5.177, allocations: 85.05 kB / 0.7544 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/5.177, allocations: 0 / 0.7544 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/5.177, allocations: 11.98 kB / 0.7544 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/5.177, allocations: 7.984 kB / 0.7544 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/5.177, allocations: 4 kB / 0.7544 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.217e-05/5.177, allocations: 83.28 kB / 0.7545 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001073/5.178, allocations: 11.91 kB / 0.7545 GB, free: 14.35 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.0001888/5.178, allocations: 103.2 kB / 0.7546 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000163/5.179, allocations: 35.92 kB / 0.7547 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/5.179, allocations: 0 / 0.7547 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.721e-05/5.179, allocations: 12 kB / 0.7547 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/5.179, allocations: 0 / 0.7547 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/5.179, allocations: 77.8 kB / 0.7548 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/5.179, allocations: 0.6915 MB / 0.7554 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/5.179, allocations: 0 / 0.7554 GB, free: 13.38 MB / 0.6355 GB