Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.224/2.224, allocations: 253.1 MB / 260.4 MB, free: 11.81 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00256/0.00256, allocations: 195.6 kB / 319.6 MB, free: 2.324 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 0.5704 GB, free: 8.355 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001589/0.001588, allocations: 102.7 kB / 0.6746 GB, free: 21.87 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 1.056e-05/1.072e-05, allocations: 0 / 0.7843 GB, free: 5.48 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6142/0.6142, allocations: 106.2 MB / 0.888 GB, free: 64.42 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2164/0.8307, allocations: 131.3 MB / 1.016 GB, free: 8.961 MB / 0.6593 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.831, allocations: 76.48 kB / 1.016 GB, free: 8.887 MB / 0.6593 GB Notification: Performance of FrontEnd: time 0.01253/0.8436, allocations: 2.384 MB / 1.019 GB, free: 6.52 MB / 0.6593 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.8436, allocations: 0 / 1.019 GB, free: 6.52 MB / 0.6593 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.0004646/0.8441, allocations: 334.3 kB / 1.019 GB, free: 6.148 MB / 0.6593 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.8442, allocations: 12.03 kB / 1.019 GB, free: 6.137 MB / 0.6593 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.8442, allocations: 0 / 1.019 GB, free: 6.137 MB / 0.6593 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.8444, allocations: 171 kB / 1.019 GB, free: 5.93 MB / 0.6593 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.8445, allocations: 4 kB / 1.019 GB, free: 5.926 MB / 0.6593 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.8445, allocations: 7.938 kB / 1.019 GB, free: 5.918 MB / 0.6593 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.037e-05/0.8446, allocations: 8 kB / 1.019 GB, free: 5.91 MB / 0.6593 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.8447, allocations: 68.25 kB / 1.019 GB, free: 5.828 MB / 0.6593 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.8448, allocations: 0 / 1.019 GB, free: 5.828 MB / 0.6593 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.8448, allocations: 0 / 1.019 GB, free: 5.828 MB / 0.6593 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.8448, allocations: 0 / 1.019 GB, free: 5.828 MB / 0.6593 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.8452, allocations: 237.4 kB / 1.02 GB, free: 5.559 MB / 0.6593 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.8454, allocations: 42.5 kB / 1.02 GB, free: 5.508 MB / 0.6593 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.8454, allocations: 16.86 kB / 1.02 GB, free: 5.488 MB / 0.6593 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.8455, allocations: 0 / 1.02 GB, free: 5.488 MB / 0.6593 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.8456, allocations: 51.5 kB / 1.02 GB, free: 5.426 MB / 0.6593 GB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.8456, allocations: 4 kB / 1.02 GB, free: 5.422 MB / 0.6593 GB Notification: Performance of matching and sorting (n=4): time 0.0002214/0.8458, allocations: 57.59 kB / 1.02 GB, free: 5.359 MB / 0.6593 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.8459, allocations: 106.8 kB / 1.02 GB, free: 5.23 MB / 0.6593 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.846, allocations: 101 kB / 1.02 GB, free: 5.125 MB / 0.6593 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.8461, allocations: 25.7 kB / 1.02 GB, free: 5.094 MB / 0.6593 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.8461, allocations: 84.08 kB / 1.02 GB, free: 5.008 MB / 0.6593 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.8462, allocations: 15.84 kB / 1.02 GB, free: 4.992 MB / 0.6593 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.8462, allocations: 0 / 1.02 GB, free: 4.992 MB / 0.6593 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.8463, allocations: 318.8 kB / 1.02 GB, free: 4.672 MB / 0.6593 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.8464, allocations: 8 kB / 1.02 GB, free: 4.664 MB / 0.6593 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.8464, allocations: 30.56 kB / 1.02 GB, free: 4.625 MB / 0.6593 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.855e-05/0.8465, allocations: 16.31 kB / 1.02 GB, free: 4.609 MB / 0.6593 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8465, allocations: 0 / 1.02 GB, free: 4.609 MB / 0.6593 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001447/0.8467, allocations: 57.69 kB / 1.02 GB, free: 4.547 MB / 0.6593 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.8467, allocations: 4 kB / 1.02 GB, free: 4.543 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.8467, allocations: 0 / 1.02 GB, free: 4.543 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.8468, allocations: 8.031 kB / 1.02 GB, free: 4.535 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.8469, allocations: 11.92 kB / 1.02 GB, free: 4.523 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.8469, allocations: 3.906 kB / 1.02 GB, free: 4.52 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.8471, allocations: 8 kB / 1.02 GB, free: 4.512 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.8471, allocations: 48 / 1.02 GB, free: 4.512 MB / 0.6593 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.0001015/0.8472, allocations: 113 kB / 1.021 GB, free: 4.395 MB / 0.6593 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.8473, allocations: 7.906 kB / 1.021 GB, free: 4.387 MB / 0.6593 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.8473, allocations: 11.69 kB / 1.021 GB, free: 4.375 MB / 0.6593 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.8473, allocations: 0 / 1.021 GB, free: 4.375 MB / 0.6593 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8473, allocations: 0 / 1.021 GB, free: 4.375 MB / 0.6593 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.8474, allocations: 0 / 1.021 GB, free: 4.375 MB / 0.6593 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.8475, allocations: 142.2 kB / 1.021 GB, free: 4.199 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8475, allocations: 0 / 1.021 GB, free: 4.199 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.8476, allocations: 7.984 kB / 1.021 GB, free: 4.191 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.8476, allocations: 3.906 kB / 1.021 GB, free: 4.188 MB / 0.6593 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.8476, allocations: 0 / 1.021 GB, free: 4.188 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.8476, allocations: 0 / 1.021 GB, free: 4.188 MB / 0.6593 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8476, allocations: 0 / 1.021 GB, free: 4.188 MB / 0.6593 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000158/0.8478, allocations: 84.97 kB / 1.021 GB, free: 4.086 MB / 0.6593 GB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-05/0.8479, allocations: 89.09 kB / 1.021 GB, free: 3.98 MB / 0.6593 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.8479, allocations: 0 / 1.021 GB, free: 3.98 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.8481, allocations: 11.98 kB / 1.021 GB, free: 3.969 MB / 0.6593 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.8482, allocations: 4 kB / 1.021 GB, free: 3.965 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.8482, allocations: 7.984 kB / 1.021 GB, free: 3.957 MB / 0.6593 GB Notification: Performance of sort global known variables: time 6.078e-05/0.8483, allocations: 87.34 kB / 1.021 GB, free: 3.871 MB / 0.6593 GB Notification: Performance of remove unused functions: time 0.0002781/0.8486, allocations: 15.91 kB / 1.021 GB, free: 3.855 MB / 0.6593 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.0001669/0.8487, allocations: 99.25 kB / 1.021 GB, free: 3.746 MB / 0.6593 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.8489, allocations: 27.98 kB / 1.021 GB, free: 3.719 MB / 0.6593 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.8489, allocations: 0 / 1.021 GB, free: 3.719 MB / 0.6593 GB Notification: Performance of simCode: created simulation system equations: time 6.2e-05/0.849, allocations: 27.86 kB / 1.021 GB, free: 3.691 MB / 0.6593 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.8491, allocations: 8.688 kB / 1.021 GB, free: 3.684 MB / 0.6593 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.8495, allocations: 71.91 kB / 1.021 GB, free: 3.59 MB / 0.6593 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.8498, allocations: 0.6915 MB / 1.022 GB, free: 2.875 MB / 0.6593 GB Notification: Performance of SimCode: time 7.22e-07/0.8499, allocations: 0 / 1.022 GB, free: 2.875 MB / 0.6593 GB Notification: Performance of Templates: time 0.004009/0.8539, allocations: 0.7865 MB / 1.023 GB, free: 2.133 MB / 0.6593 GB