Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003298/0.003298, allocations: 175.9 kB / 7.46 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6441/0.6441, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.352/1.352, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009413/0.0009412, allocations: 98.59 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.667e-06, allocations: 2.781 kB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1731, allocations: 82.31 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4408/0.614, allocations: 111.2 MB / 0.7418 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.6143, allocations: 74.97 kB / 0.7419 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.006696/0.621, allocations: 2.402 MB / 0.7442 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.621, allocations: 0 / 0.7442 GB, free: 10.55 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003579/0.6214, allocations: 332.3 kB / 0.7445 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.6214, allocations: 11.44 kB / 0.7446 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.6215, allocations: 5.969 kB / 0.7446 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.6216, allocations: 168.6 kB / 0.7447 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.6216, allocations: 0 / 0.7447 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.6217, allocations: 7.781 kB / 0.7447 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.01e-05/0.6217, allocations: 16.42 kB / 0.7447 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.6218, allocations: 59.89 kB / 0.7448 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.6219, allocations: 1.875 kB / 0.7448 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.6219, allocations: 3.906 kB / 0.7448 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.6219, allocations: 0 / 0.7448 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.6223, allocations: 240.7 kB / 0.745 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.6224, allocations: 41.11 kB / 0.7451 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.6224, allocations: 15.14 kB / 0.7451 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.6224, allocations: 0 / 0.7451 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.809e-05/0.6225, allocations: 54.52 kB / 0.7451 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.6225, allocations: 0 / 0.7451 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001713/0.6227, allocations: 57.83 kB / 0.7452 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.6228, allocations: 106.1 kB / 0.7453 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/0.6229, allocations: 98.59 kB / 0.7454 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.6229, allocations: 25.7 kB / 0.7454 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.623, allocations: 84.08 kB / 0.7455 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.623, allocations: 16.09 kB / 0.7455 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.623, allocations: 1.031 kB / 0.7455 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6231, allocations: 310.8 kB / 0.7458 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.6232, allocations: 20.02 kB / 0.7458 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.634e-05/0.6232, allocations: 31.25 kB / 0.7459 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.6232, allocations: 11.98 kB / 0.7459 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6232, allocations: 0 / 0.7459 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.966e-05/0.6233, allocations: 56.5 kB / 0.7459 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.6234, allocations: 5.719 kB / 0.7459 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6234, allocations: 112 / 0.7459 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.6234, allocations: 7.984 kB / 0.7459 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.6235, allocations: 7.781 kB / 0.7459 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6235, allocations: 13.22 kB / 0.746 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.6236, allocations: 14.31 kB / 0.746 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.6236, allocations: 0 / 0.746 GB, free: 24.83 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 (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 8.272e-05/0.6237, allocations: 104.8 kB / 0.7461 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.6237, allocations: 1.734 kB / 0.7461 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.6237, allocations: 11.09 kB / 0.7461 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.6238, allocations: 7.812 kB / 0.7461 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.6238, allocations: 0 / 0.7461 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.6238, allocations: 1.547 kB / 0.7461 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.6239, allocations: 141.5 kB / 0.7462 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6239, allocations: 3.875 kB / 0.7462 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.6239, allocations: 0 / 0.7462 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6239, allocations: 1.312 kB / 0.7462 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.624, allocations: 3.875 kB / 0.7462 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.624, allocations: 3.906 kB / 0.7462 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.624, allocations: 0 / 0.7462 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001036/0.6241, allocations: 83.31 kB / 0.7463 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.6242, allocations: 92.59 kB / 0.7464 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.6242, allocations: 0 / 0.7464 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.6243, allocations: 10.22 kB / 0.7464 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.6243, allocations: 7.016 kB / 0.7464 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.6244, allocations: 0 / 0.7464 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.914e-05/0.6244, allocations: 92.7 kB / 0.7465 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001983/0.6246, allocations: 7.719 kB / 0.7465 GB, free: 24.3 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 (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.000163/0.6248, allocations: 99.94 kB / 0.7466 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.6249, allocations: 31.75 kB / 0.7466 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6249, allocations: 0 / 0.7466 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.625, allocations: 18.28 kB / 0.7467 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.6251, allocations: 7.75 kB / 0.7467 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.6253, allocations: 71.95 kB / 0.7467 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.6256, allocations: 0.6915 MB / 0.7474 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.6257, allocations: 0 / 0.7474 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.002729/0.6284, allocations: 0.7982 MB / 0.7482 GB, free: 23.36 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)