Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [: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/Complex 4.0.0+maint.om/package.mo): time 0.003322/0.003323, allocations: 181.3 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6946/0.6946, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001454, allocations: 106.5 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.527e-05/1.53e-05, allocations: 2.406 kB / 0.5528 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2207, allocations: 82.31 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6/0.8208, allocations: 114.2 MB / 0.7447 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.821, allocations: 84.03 kB / 0.7448 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.02593/0.8469, allocations: 9.221 MB / 0.7538 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.483e-05/0.847, allocations: 8.016 kB / 0.7538 GB, free: 9.965 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009959/0.848, allocations: 0.4961 MB / 0.7543 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.8481, allocations: 8.844 kB / 0.7543 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.8482, allocations: 28.06 kB / 0.7543 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.8487, allocations: 266.3 kB / 0.7546 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.8488, allocations: 5.031 kB / 0.7546 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.8488, allocations: 8.688 kB / 0.7546 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001145/0.85, allocations: 0.7253 MB / 0.7553 GB, free: 25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.8503, allocations: 191.1 kB / 0.7555 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.8504, allocations: 4.969 kB / 0.7555 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.8504, allocations: 3.984 kB / 0.7555 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.8504, allocations: 7.922 kB / 0.7555 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009281/0.8513, allocations: 0.5218 MB / 0.756 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.8518, allocations: 280 kB / 0.7563 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.852, allocations: 91.25 kB / 0.7563 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.8521, allocations: 19.7 kB / 0.7564 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.8523, allocations: 152.8 kB / 0.7565 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.414e-06/0.8523, allocations: 0 / 0.7565 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34): time 0.0005509/0.8529, allocations: 279.2 kB / 0.7568 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.853, allocations: 136.8 kB / 0.7569 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.8533, allocations: 253.9 kB / 0.7572 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.8534, allocations: 26.86 kB / 0.7572 GB, free: 24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.8535, allocations: 94.34 kB / 0.7573 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.2e-05/0.8536, allocations: 110.5 kB / 0.7574 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.8536, allocations: 0 / 0.7574 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.8538, allocations: 337 kB / 0.7577 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.8539, allocations: 74.97 kB / 0.7578 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.8541, allocations: 117.4 kB / 0.7579 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.8543, allocations: 104 kB / 0.758 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.8543, allocations: 0 / 0.758 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004693/0.8548, allocations: 260 kB / 0.7582 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.8548, allocations: 5.375 kB / 0.7582 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.8548, allocations: 3.938 kB / 0.7582 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.8548, allocations: 1.469 kB / 0.7582 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.8551, allocations: 70.59 kB / 0.7583 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.8551, allocations: 1.594 kB / 0.7583 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.8553, allocations: 21.92 kB / 0.7583 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.8553, allocations: 13.03 kB / 0.7583 GB, free: 23.32 MB / 0.5105 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 (35): * Single equations (assignments): 35 * 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.0001157/0.8554, allocations: 106.5 kB / 0.7584 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.8555, allocations: 31.7 kB / 0.7585 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.8563, allocations: 375.7 kB / 0.7588 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.8563, allocations: 3.281 kB / 0.7588 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.8563, allocations: 0 / 0.7588 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.8563, allocations: 5.141 kB / 0.7588 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.8566, allocations: 296.7 kB / 0.7591 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.8566, allocations: 0 / 0.7591 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.8568, allocations: 60.12 kB / 0.7592 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.8569, allocations: 1.125 kB / 0.7592 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.8569, allocations: 5.188 kB / 0.7592 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.8569, allocations: 9.109 kB / 0.7592 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8569, allocations: 4 kB / 0.7592 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004563/0.8574, allocations: 301.1 kB / 0.7595 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.8575, allocations: 157.1 kB / 0.7596 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.8576, allocations: 1.219 kB / 0.7596 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.8577, allocations: 11.45 kB / 0.7596 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.8578, allocations: 30 kB / 0.7597 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.8579, allocations: 11.84 kB / 0.7597 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002167/0.8581, allocations: 212.1 kB / 0.7599 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003684/0.8585, allocations: 59.7 kB / 0.7599 GB, free: 22.44 MB / 0.5105 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 (34): * Single equations (assignments): 33 * 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.0008099/0.8593, allocations: 325.8 kB / 0.7603 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004167/0.8597, allocations: 210.5 kB / 0.7605 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8597, allocations: 0 / 0.7605 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.8599, allocations: 122.6 kB / 0.7606 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.8602, allocations: 20.09 kB / 0.7606 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008773/0.8611, allocations: 399.3 kB / 0.761 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.8616, allocations: 0.8104 MB / 0.7618 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.8616, allocations: 0 / 0.7618 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.007771/0.8694, allocations: 3.519 MB / 0.7652 GB, free: 19.57 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)