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: "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",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/BuildSysPro 3.5.0/package.mo): time 0.749/0.749, allocations: 127.4 MB / 134.6 MB, free: 4.066 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.001454/0.001454, allocations: 181.3 kB / 164.4 MB, free: 6.871 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.815/1.815, allocations: 205.1 MB / 399.1 MB, free: 6.07 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.001036/0.001036, allocations: 90.86 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3583/0.3593, allocations: 82.87 MB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.5644, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5412/1.106, allocations: 103.1 MB / 0.7217 GB, free: 9.238 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/1.106, allocations: 55.97 kB / 0.7217 GB, free: 9.184 MB / 490.7 MB 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.03032/1.136, allocations: 10.55 MB / 0.7321 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.136, allocations: 8 kB / 0.7321 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/1.137, allocations: 63.16 kB / 0.7321 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/1.138, allocations: 0.5152 MB / 0.7326 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/1.138, allocations: 11.94 kB / 0.7326 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/1.138, allocations: 4 kB / 0.7326 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003681/1.138, allocations: 184.2 kB / 0.7328 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/1.138, allocations: 216.1 kB / 0.733 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.138, allocations: 0 / 0.733 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/1.139, allocations: 0 / 0.733 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/1.139, allocations: 15.98 kB / 0.733 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/1.14, allocations: 0.8602 MB / 0.7339 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/1.14, allocations: 290.9 kB / 0.7342 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/1.141, allocations: 129.7 kB / 0.7343 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-05/1.141, allocations: 12.17 kB / 0.7343 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/1.141, allocations: 34.5 kB / 0.7343 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/1.141, allocations: 0 / 0.7343 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0006092/1.141, allocations: 293.2 kB / 0.7346 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/1.141, allocations: 85.11 kB / 0.7347 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/1.143, allocations: 0.7572 MB / 0.7354 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/1.143, allocations: 25.7 kB / 0.7354 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/1.143, allocations: 164.3 kB / 0.7356 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/1.143, allocations: 59.11 kB / 0.7357 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/1.143, allocations: 0 / 0.7357 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002527/1.143, allocations: 382.7 kB / 0.736 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/1.143, allocations: 103.9 kB / 0.7361 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/1.144, allocations: 121.7 kB / 0.7362 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/1.144, allocations: 93.44 kB / 0.7363 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.144, allocations: 3.938 kB / 0.7363 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005329/1.144, allocations: 288.8 kB / 0.7366 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/1.144, allocations: 4 kB / 0.7366 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.144, allocations: 3.938 kB / 0.7366 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.144, allocations: 7.938 kB / 0.7366 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/1.145, allocations: 95.92 kB / 0.7367 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.145, allocations: 0 / 0.7367 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/1.145, allocations: 67.8 kB / 0.7368 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/1.145, allocations: 11.98 kB / 0.7368 GB, free: 9.535 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.0001364/1.145, allocations: 120.1 kB / 0.7369 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/1.146, allocations: 63.23 kB / 0.737 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007043/1.146, allocations: 342.5 kB / 0.7373 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/1.146, allocations: 7.844 kB / 0.7373 GB, free: 9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.146, allocations: 4 kB / 0.7373 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.146, allocations: 7.984 kB / 0.7373 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/1.147, allocations: 465.7 kB / 0.7378 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.147, allocations: 3.984 kB / 0.7378 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/1.147, allocations: 95.92 kB / 0.7378 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/1.147, allocations: 0 / 0.7378 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/1.147, allocations: 8 kB / 0.7379 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.148, allocations: 11.88 kB / 0.7379 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.148, allocations: 0 / 0.7379 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005892/1.148, allocations: 492.1 kB / 0.7383 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000736/1.149, allocations: 0.867 MB / 0.7392 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/1.149, allocations: 172.3 kB / 0.7393 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/1.149, allocations: 3.938 kB / 0.7394 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/1.15, allocations: 63.86 kB / 0.7394 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/1.15, allocations: 79.86 kB / 0.7395 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/1.15, allocations: 8 kB / 0.7395 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001077/1.151, allocations: 0.5889 MB / 0.7401 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001112/1.152, allocations: 83.83 kB / 0.7402 GB, free: 5.973 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.0007404/1.153, allocations: 266.1 kB / 0.7404 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004579/1.153, allocations: 255.8 kB / 0.7406 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.153, allocations: 4 kB / 0.7407 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/1.154, allocations: 183.8 kB / 0.7408 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/1.154, allocations: 60.27 kB / 0.7409 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/1.156, allocations: 0.8012 MB / 0.7417 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008771/1.157, allocations: 0.9548 MB / 0.7426 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of SimCode: time 3.01e-07/1.157, allocations: 0 / 0.7426 GB, free: 3.461 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1)