Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",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/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 187.9 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4671/0.4671, allocations: 90.85 MB / 99.07 MB, free: 14.89 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 221.4 MB / 342.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 90.59 kB / 415.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1987/0.1998, allocations: 78.46 MB / 494 MB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.5859, allocations: 72.31 MB / 0.553 GB, free: 44.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.7073, allocations: 99.98 MB / 0.6506 GB, free: 8.609 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.7076, allocations: 75.95 kB / 0.6507 GB, free: 8.535 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00145/0.709, allocations: 0.544 MB / 0.6512 GB, free: 7.957 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.7091, allocations: 12.59 kB / 0.6513 GB, free: 7.945 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.7093, allocations: 16.5 kB / 0.6513 GB, free: 7.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.581e-05/0.7094, allocations: 171.9 kB / 0.6514 GB, free: 7.723 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.7094, allocations: 0 / 0.6514 GB, free: 7.723 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.7095, allocations: 0.7188 kB / 0.6514 GB, free: 7.723 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.341e-05/0.7095, allocations: 1.5 kB / 0.6514 GB, free: 7.723 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.258e-05/0.7096, allocations: 37.69 kB / 0.6515 GB, free: 7.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.7096, allocations: 0 / 0.6515 GB, free: 7.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.7096, allocations: 0 / 0.6515 GB, free: 7.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.7096, allocations: 0 / 0.6515 GB, free: 7.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.7098, allocations: 130.1 kB / 0.6516 GB, free: 7.516 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.445e-05/0.7098, allocations: 26 kB / 0.6516 GB, free: 7.484 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.7099, allocations: 4.859 kB / 0.6516 GB, free: 7.477 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.7099, allocations: 4 kB / 0.6516 GB, free: 7.473 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.7099, allocations: 35.5 kB / 0.6517 GB, free: 7.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.7099, allocations: 0 / 0.6517 GB, free: 7.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.7101, allocations: 37.69 kB / 0.6517 GB, free: 7.387 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.7101, allocations: 51.41 kB / 0.6517 GB, free: 7.324 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.653e-05/0.7101, allocations: 85 kB / 0.6518 GB, free: 7.234 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.7102, allocations: 25.7 kB / 0.6519 GB, free: 7.203 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.7102, allocations: 80.14 kB / 0.6519 GB, free: 7.121 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.7102, allocations: 10 kB / 0.6519 GB, free: 7.113 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.7102, allocations: 0 / 0.6519 GB, free: 7.113 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.7103, allocations: 310.8 kB / 0.6522 GB, free: 6.801 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.7103, allocations: 4 kB / 0.6522 GB, free: 6.797 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-06/0.7104, allocations: 3.938 kB / 0.6522 GB, free: 6.793 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.765e-05/0.7104, allocations: 3.984 kB / 0.6522 GB, free: 6.789 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7104, allocations: 0 / 0.6522 GB, free: 6.789 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.371e-05/0.7105, allocations: 33.7 kB / 0.6523 GB, free: 6.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.7105, allocations: 8.094 kB / 0.6523 GB, free: 6.742 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7105, allocations: 0 / 0.6523 GB, free: 6.742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.7105, allocations: 0 / 0.6523 GB, free: 6.742 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.7106, allocations: 7.984 kB / 0.6523 GB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.7106, allocations: 0 / 0.6523 GB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.7106, allocations: 0 / 0.6523 GB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.7107, allocations: 4.688 kB / 0.6523 GB, free: 6.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.84e-05/0.7107, allocations: 108.9 kB / 0.6524 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-06/0.7107, allocations: 0 / 0.6524 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.7108, allocations: 7 kB / 0.6524 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.7108, allocations: 0 / 0.6524 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7108, allocations: 0 / 0.6524 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.7108, allocations: 0 / 0.6524 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.7109, allocations: 134.8 kB / 0.6525 GB, free: 6.441 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7109, allocations: 1.125 kB / 0.6525 GB, free: 6.441 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/0.711, allocations: 4 kB / 0.6525 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.711, allocations: 0 / 0.6525 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.711, allocations: 8.375 kB / 0.6526 GB, free: 6.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.711, allocations: 7.984 kB / 0.6526 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.711, allocations: 0 / 0.6526 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.77e-05/0.7111, allocations: 61.05 kB / 0.6526 GB, free: 6.344 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001737/0.7113, allocations: 430.3 kB / 0.653 GB, free: 5.902 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.7113, allocations: 81.17 kB / 0.6531 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.7114, allocations: 4 kB / 0.6531 GB, free: 5.801 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.7114, allocations: 7.984 kB / 0.6531 GB, free: 5.793 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.7114, allocations: 3.906 kB / 0.6531 GB, free: 5.789 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.7114, allocations: 2.188 kB / 0.6531 GB, free: 5.789 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.987e-05/0.7115, allocations: 79.22 kB / 0.6532 GB, free: 5.711 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008061/0.7123, allocations: 4 kB / 0.6532 GB, free: 5.707 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.000137/0.7124, allocations: 95.25 kB / 0.6533 GB, free: 5.602 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.951e-05/0.7125, allocations: 8 kB / 0.6533 GB, free: 5.594 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7125, allocations: 0 / 0.6533 GB, free: 5.594 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.907e-06/0.7125, allocations: 0 / 0.6533 GB, free: 5.594 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.759e-05/0.7126, allocations: 10.02 kB / 0.6533 GB, free: 5.586 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001929/0.7128, allocations: 43.94 kB / 0.6534 GB, free: 5.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.7131, allocations: 0.6841 MB / 0.654 GB, free: 4.809 MB / 474.7 MB Notification: Performance of SimCode: time 2.485e-06/0.7131, allocations: 1.125 kB / 0.654 GB, free: 4.809 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)