Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.943/2.943, allocations: 284.8 MB / 292.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001689/0.001689, allocations: 181.3 kB / 360.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 91.61 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.251/0.2523, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.605/0.8573, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2096/1.067, allocations: 136.3 MB / 1.096 GB, free: 4.578 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.067, allocations: 72.56 kB / 1.096 GB, free: 4.508 MB / 0.698 GB 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.00214/1.069, allocations: 0.5457 MB / 1.096 GB, free: 3.941 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.07, allocations: 8.5 kB / 1.096 GB, free: 3.934 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/1.07, allocations: 17.5 kB / 1.096 GB, free: 3.918 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/1.07, allocations: 171 kB / 1.097 GB, free: 3.711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/1.07, allocations: 5.156 kB / 1.097 GB, free: 3.707 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/1.07, allocations: 2.266 kB / 1.097 GB, free: 3.707 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.078e-05/1.07, allocations: 0 / 1.097 GB, free: 3.707 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.973e-05/1.07, allocations: 34.38 kB / 1.097 GB, free: 3.668 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.07, allocations: 0.6562 kB / 1.097 GB, free: 3.668 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/1.07, allocations: 0.5312 kB / 1.097 GB, free: 3.668 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/1.07, allocations: 0 / 1.097 GB, free: 3.668 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/1.07, allocations: 127.7 kB / 1.097 GB, free: 3.508 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.72e-05/1.07, allocations: 18.61 kB / 1.097 GB, free: 3.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/1.071, allocations: 9.297 kB / 1.097 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/1.071, allocations: 0.5 kB / 1.097 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/1.071, allocations: 36.44 kB / 1.097 GB, free: 3.426 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.405e-06/1.071, allocations: 4.062 kB / 1.097 GB, free: 3.422 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001483/1.071, allocations: 33.52 kB / 1.097 GB, free: 3.387 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/1.071, allocations: 57.06 kB / 1.097 GB, free: 3.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.978e-05/1.071, allocations: 89.59 kB / 1.097 GB, free: 3.227 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/1.071, allocations: 26.3 kB / 1.097 GB, free: 3.195 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/1.071, allocations: 80.8 kB / 1.097 GB, free: 3.113 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/1.071, allocations: 0 / 1.097 GB, free: 3.113 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/1.071, allocations: 0.5625 kB / 1.097 GB, free: 3.113 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.071, allocations: 311.3 kB / 1.097 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/1.071, allocations: 4.688 kB / 1.097 GB, free: 2.797 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.147e-05/1.071, allocations: 0.6875 kB / 1.097 GB, free: 2.797 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.282e-05/1.071, allocations: 6.078 kB / 1.097 GB, free: 2.793 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.071, allocations: 7.844 kB / 1.097 GB, free: 2.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.846e-05/1.071, allocations: 33.7 kB / 1.097 GB, free: 2.746 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.071, allocations: 5.969 kB / 1.097 GB, free: 2.742 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.071, allocations: 0 / 1.097 GB, free: 2.742 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.071, allocations: 1.438 kB / 1.097 GB, free: 2.742 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/1.071, allocations: 9.297 kB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/1.071, allocations: 0 / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/1.072, allocations: 0 / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/1.072, allocations: 0.6562 kB / 1.098 GB, free: 2.734 MB / 0.698 GB 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 7.43e-05/1.072, allocations: 110.2 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/1.072, allocations: 4.609 kB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/1.072, allocations: 3.562 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.072, allocations: 0.5625 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/1.072, allocations: 0.5 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/1.072, allocations: 0 / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.869e-05/1.072, allocations: 135.5 kB / 1.098 GB, free: 2.445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/1.072, allocations: 3.094 kB / 1.098 GB, free: 2.445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/1.072, allocations: 0 / 1.098 GB, free: 2.445 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/1.072, allocations: 4 kB / 1.098 GB, free: 2.441 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/1.072, allocations: 7.891 kB / 1.098 GB, free: 2.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.072, allocations: 0.5938 kB / 1.098 GB, free: 2.434 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.072, allocations: 0 / 1.098 GB, free: 2.434 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.365e-05/1.072, allocations: 55.05 kB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002778/1.072, allocations: 447 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/1.072, allocations: 79.08 kB / 1.098 GB, free: 1.812 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/1.073, allocations: 0 / 1.098 GB, free: 1.812 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.233e-05/1.073, allocations: 7.984 kB / 1.098 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/1.073, allocations: 2.406 kB / 1.098 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/1.073, allocations: 0 / 1.098 GB, free: 1.805 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.629e-05/1.073, allocations: 75.28 kB / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001033/1.074, allocations: 11.66 kB / 1.098 GB, free: 1.723 MB / 0.698 GB 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.000145/1.074, allocations: 103.2 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.564e-05/1.074, allocations: 8 kB / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.074, allocations: 0 / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.414e-05/1.074, allocations: 0 / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/1.074, allocations: 6.578 kB / 1.099 GB, free: 1.602 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/1.074, allocations: 44.08 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/1.075, allocations: 0.6841 MB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of SimCode: time 2.705e-06/1.075, allocations: 4.125 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)