Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.362/2.362, allocations: 248.6 MB / 255.9 MB, free: 7.199 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.002058/0.002058, allocations: 183.6 kB / 315.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.1 MB / 0.5658 GB, free: 316 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.001301/0.001301, allocations: 91.31 kB / 0.67 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5056/0.507, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.7304, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7515/1.482, allocations: 132.4 MB / 1.013 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004741/1.483, allocations: 82.06 kB / 1.013 GB, free: 7.812 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.0162/1.499, allocations: 2.7 MB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/1.499, allocations: 12 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.204e-05/1.499, allocations: 3.938 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/1.499, allocations: 178.1 kB / 1.016 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/1.499, allocations: 0 / 1.016 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/1.499, allocations: 4 kB / 1.016 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001337/1.5, allocations: 15.11 kB / 1.016 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/1.5, allocations: 66.58 kB / 1.016 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.5, allocations: 0 / 1.016 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/1.5, allocations: 3.984 kB / 1.016 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.5, allocations: 0 / 1.016 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/1.501, allocations: 239 kB / 1.016 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/1.501, allocations: 42.14 kB / 1.016 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/1.501, allocations: 15.98 kB / 1.016 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/1.501, allocations: 0 / 1.016 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/1.501, allocations: 57.73 kB / 1.016 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.717e-06/1.501, allocations: 0 / 1.016 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0003923/1.502, allocations: 53.28 kB / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/1.502, allocations: 106.1 kB / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/1.502, allocations: 100.9 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/1.502, allocations: 25.7 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/1.502, allocations: 80.14 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/1.502, allocations: 15.83 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/1.502, allocations: 3.938 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002812/1.503, allocations: 317.6 kB / 1.017 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/1.503, allocations: 7.75 kB / 1.017 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/1.503, allocations: 42.31 kB / 1.017 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.643e-05/1.503, allocations: 4 kB / 1.017 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.503, allocations: 0 / 1.017 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003491/1.503, allocations: 54.62 kB / 1.017 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/1.503, allocations: 4 kB / 1.017 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.503, allocations: 4 kB / 1.017 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/1.504, allocations: 0 / 1.017 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/1.504, allocations: 4 kB / 1.017 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/1.504, allocations: 7.844 kB / 1.017 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/1.504, allocations: 16.02 kB / 1.017 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/1.504, allocations: 0 / 1.017 GB, free: 3.984 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.0001796/1.504, allocations: 107.2 kB / 1.017 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/1.505, allocations: 11.84 kB / 1.017 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/1.505, allocations: 7.062 kB / 1.017 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/1.505, allocations: 3.984 kB / 1.017 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.505, allocations: 0 / 1.017 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.505, allocations: 0 / 1.017 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/1.505, allocations: 149.5 kB / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.505, allocations: 3.938 kB / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.898e-05/1.505, allocations: 7.625 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/1.505, allocations: 3.906 kB / 1.017 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/1.505, allocations: 0 / 1.017 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/1.505, allocations: 0 / 1.017 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.78e-06/1.505, allocations: 0 / 1.017 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003412/1.506, allocations: 84.88 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005014/1.506, allocations: 459.9 kB / 1.018 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/1.506, allocations: 89 kB / 1.018 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/1.506, allocations: 3.938 kB / 1.018 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/1.507, allocations: 11.98 kB / 1.018 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/1.507, allocations: 12.12 kB / 1.018 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/1.507, allocations: 0 / 1.018 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001193/1.507, allocations: 82.97 kB / 1.018 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002252/1.509, allocations: 15.91 kB / 1.018 GB, free: 2.887 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.0003158/1.51, allocations: 103.2 kB / 1.018 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002278/1.51, allocations: 30.23 kB / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.51, allocations: 0 / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/1.51, allocations: 11.62 kB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/1.51, allocations: 11.62 kB / 1.018 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/1.511, allocations: 74.94 kB / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/1.511, allocations: 0.6945 MB / 1.019 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of SimCode: time 5.139e-06/1.511, allocations: 0 / 1.019 GB, free: 1.93 MB / 0.6355 GB