Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample") [: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/BuildSysPro 3.5.0/package.mo): time 0.6951/0.6951, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 189.2 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 399.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008772/0.000877, allocations: 105.2 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.052e-06/6.082e-06, allocations: 0 / 0.5459 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1415, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4441/0.5857, allocations: 103.1 MB / 0.7216 GB, free: 9.273 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.5859, allocations: 55.98 kB / 0.7217 GB, free: 9.219 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.02723/0.6132, allocations: 9.797 MB / 0.7312 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.22e-05/0.6133, allocations: 15.98 kB / 0.7312 GB, free: 15.39 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00144/0.6147, allocations: 0.7467 MB / 0.732 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.6148, allocations: 11.97 kB / 0.732 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.615, allocations: 67.16 kB / 0.732 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.6161, allocations: 0.5035 MB / 0.7325 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.6161, allocations: 4 kB / 0.7325 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.6162, allocations: 8 kB / 0.7325 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003721/0.6166, allocations: 188.1 kB / 0.7327 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.617, allocations: 212.1 kB / 0.7329 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.617, allocations: 0 / 0.7329 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.617, allocations: 3.938 kB / 0.7329 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.6171, allocations: 15.98 kB / 0.7329 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.6187, allocations: 0.8641 MB / 0.7338 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.6191, allocations: 285.1 kB / 0.7341 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.6193, allocations: 133.7 kB / 0.7342 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.284e-05/0.6194, allocations: 7.984 kB / 0.7342 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.6194, allocations: 31 kB / 0.7342 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.994e-06/0.6195, allocations: 0 / 0.7342 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0006306/0.6201, allocations: 296.8 kB / 0.7345 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.6202, allocations: 81.11 kB / 0.7346 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.6213, allocations: 0.7612 MB / 0.7353 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.6213, allocations: 25.7 kB / 0.7354 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.6214, allocations: 160.3 kB / 0.7355 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.6215, allocations: 59.17 kB / 0.7356 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.6215, allocations: 0 / 0.7356 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.6217, allocations: 382.7 kB / 0.7359 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.6219, allocations: 99.94 kB / 0.736 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.6221, allocations: 133.6 kB / 0.7362 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.6223, allocations: 90.91 kB / 0.7362 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6223, allocations: 0 / 0.7362 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005211/0.6228, allocations: 292.8 kB / 0.7365 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6228, allocations: 8 kB / 0.7365 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6228, allocations: 0 / 0.7365 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.6229, allocations: 0 / 0.7365 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.6233, allocations: 103.9 kB / 0.7366 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.6234, allocations: 0 / 0.7366 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.6237, allocations: 63.8 kB / 0.7367 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.6237, allocations: 15.98 kB / 0.7367 GB, free: 9.559 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001205/0.6238, allocations: 116.8 kB / 0.7368 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.624, allocations: 59.25 kB / 0.7369 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005899/0.6246, allocations: 339 kB / 0.7372 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.6246, allocations: 7.906 kB / 0.7372 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6246, allocations: 0 / 0.7372 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.6246, allocations: 4 kB / 0.7372 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.6253, allocations: 473.7 kB / 0.7377 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.6253, allocations: 0 / 0.7377 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.6257, allocations: 103.8 kB / 0.7378 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.6257, allocations: 0 / 0.7378 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.6258, allocations: 7.984 kB / 0.7378 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.6258, allocations: 8 kB / 0.7378 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6258, allocations: 0 / 0.7378 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00059/0.6264, allocations: 491.6 kB / 0.7382 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.6266, allocations: 180.2 kB / 0.7384 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.6267, allocations: 7.906 kB / 0.7384 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.627, allocations: 59.95 kB / 0.7385 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.6272, allocations: 71.88 kB / 0.7385 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.6273, allocations: 11.98 kB / 0.7386 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0007465/0.628, allocations: 0.5889 MB / 0.7391 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004495/0.6285, allocations: 71.94 kB / 0.7392 GB, free: 6.906 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.0006569/0.6292, allocations: 291.4 kB / 0.7395 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004383/0.6296, allocations: 259.7 kB / 0.7397 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6296, allocations: 0 / 0.7397 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.6299, allocations: 175.8 kB / 0.7399 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.6305, allocations: 64.27 kB / 0.74 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.6321, allocations: 0.7904 MB / 0.7407 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007936/0.6329, allocations: 0.9548 MB / 0.7417 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of SimCode: time 6.42e-07/0.6329, allocations: 3.938 kB / 0.7417 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of Templates: time 0.01157/0.6445, allocations: 5.114 MB / 0.7467 GB, free: 15.26 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.makefile (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.sim & ./BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1)