Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.587/2.587, allocations: 248.6 MB / 255.9 MB, free: 7.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001675/0.001674, allocations: 184.3 kB / 315.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.1 MB / 0.5658 GB, free: 268 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 87.28 kB / 0.67 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4979/0.4992, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.7471, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6795/1.427, allocations: 132.4 MB / 1.013 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004657/1.427, allocations: 78.95 kB / 1.013 GB, free: 7.746 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.02052/1.448, allocations: 2.698 MB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/1.448, allocations: 8 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.047e-05/1.448, allocations: 8 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/1.448, allocations: 175 kB / 1.016 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/1.448, allocations: 0 / 1.016 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/1.448, allocations: 3.938 kB / 1.016 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/1.448, allocations: 15.12 kB / 1.016 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/1.449, allocations: 66.88 kB / 1.016 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.449, allocations: 1.031 kB / 1.016 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/1.449, allocations: 0 / 1.016 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/1.449, allocations: 4 kB / 1.016 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/1.449, allocations: 235.2 kB / 1.016 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/1.45, allocations: 41.38 kB / 1.016 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/1.45, allocations: 20.03 kB / 1.016 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/1.45, allocations: 0 / 1.016 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/1.45, allocations: 58.19 kB / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.978e-06/1.45, allocations: 0 / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0003137/1.45, allocations: 56.16 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/1.45, allocations: 102.8 kB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/1.451, allocations: 108.8 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/1.451, allocations: 25.7 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/1.451, allocations: 84.08 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/1.451, allocations: 7.844 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/1.451, allocations: 8 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.451, allocations: 318.7 kB / 1.017 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.319e-05/1.451, allocations: 7.562 kB / 1.017 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/1.451, allocations: 29.33 kB / 1.017 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.81e-05/1.451, allocations: 11.25 kB / 1.017 GB, free: 4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.451, allocations: 0 / 1.017 GB, free: 4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002297/1.452, allocations: 51.94 kB / 1.017 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.452, allocations: 8.031 kB / 1.017 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.452, allocations: 0 / 1.017 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.452, allocations: 0 / 1.017 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/1.452, allocations: 15.92 kB / 1.017 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/1.452, allocations: 3.906 kB / 1.017 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/1.452, allocations: 8 kB / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/1.452, allocations: 7.797 kB / 1.017 GB, free: 3.91 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.0001518/1.452, allocations: 111.2 kB / 1.017 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/1.452, allocations: 3.906 kB / 1.017 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/1.453, allocations: 8.125 kB / 1.017 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.453, allocations: 3.938 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.453, allocations: 0 / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/1.453, allocations: 0 / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/1.453, allocations: 152.6 kB / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.453, allocations: 3.984 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/1.453, allocations: 0 / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.453, allocations: 7.906 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/1.453, allocations: 0 / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.453, allocations: 4 kB / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.453, allocations: 0 / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000255/1.453, allocations: 82.66 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004444/1.454, allocations: 457.1 kB / 1.018 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/1.454, allocations: 96.06 kB / 1.018 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/1.454, allocations: 0 / 1.018 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/1.454, allocations: 11.98 kB / 1.018 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/1.454, allocations: 0 / 1.018 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/1.454, allocations: 4 kB / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.298e-05/1.455, allocations: 86.7 kB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001861/1.456, allocations: 11.91 kB / 1.018 GB, free: 2.816 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.0002839/1.457, allocations: 103.2 kB / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002446/1.457, allocations: 33.19 kB / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.457, allocations: 3.938 kB / 1.018 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.954e-05/1.457, allocations: 15.38 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/1.457, allocations: 2.062 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/1.458, allocations: 70.25 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/1.458, allocations: 0.6954 MB / 1.019 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of SimCode: time 1.873e-06/1.458, allocations: 4 kB / 1.019 GB, free: 1.855 MB / 0.6355 GB