Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.407/1.407, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001152/0.001152, allocations: 181.2 kB / 361.1 MB, free: 7.094 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.11/1.11, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008022/0.000802, allocations: 85.77 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2239/0.2247, allocations: 121.5 MB / 0.8512 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.7679, allocations: 115.3 MB / 0.9638 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.9268, allocations: 136.5 MB / 1.097 GB, free: 3.594 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.9271, allocations: 73.22 kB / 1.097 GB, free: 3.523 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.001499/0.9286, allocations: 0.5438 MB / 1.098 GB, free: 2.957 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.9286, allocations: 8.5 kB / 1.098 GB, free: 2.949 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.9288, allocations: 25.2 kB / 1.098 GB, free: 2.926 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.929, allocations: 160.5 kB / 1.098 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.929, allocations: 3.906 kB / 1.098 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.929, allocations: 4.625 kB / 1.098 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.478e-05/0.9291, allocations: 0 / 1.098 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.94e-05/0.9292, allocations: 38.62 kB / 1.098 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.9292, allocations: 2.469 kB / 1.098 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.9292, allocations: 0 / 1.098 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.9292, allocations: 1.406 kB / 1.098 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.9293, allocations: 122.2 kB / 1.098 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.077e-05/0.9294, allocations: 27.16 kB / 1.098 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.9294, allocations: 6.422 kB / 1.098 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.9294, allocations: 0 / 1.098 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.9295, allocations: 35.19 kB / 1.098 GB, free: 2.438 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.9295, allocations: 4.516 kB / 1.098 GB, free: 2.438 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.9296, allocations: 30.42 kB / 1.098 GB, free: 2.402 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.9296, allocations: 56.47 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.53e-05/0.9297, allocations: 85 kB / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.9297, allocations: 29.7 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.9297, allocations: 80.83 kB / 1.098 GB, free: 2.129 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.9298, allocations: 0.5625 kB / 1.098 GB, free: 2.129 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.9298, allocations: 0 / 1.098 GB, free: 2.129 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.9299, allocations: 315.9 kB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.9299, allocations: 0 / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.93, allocations: 5.469 kB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.533e-05/0.93, allocations: 3.938 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.93, allocations: 3.906 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.177e-05/0.93, allocations: 32.86 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.9301, allocations: 8.594 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.9301, allocations: 3.984 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.9301, allocations: 1.641 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.9302, allocations: 5.562 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.9302, allocations: 0.5625 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.9302, allocations: 0.5312 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.9302, allocations: 0.5312 kB / 1.099 GB, free: 1.75 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.316e-05/0.9303, allocations: 105.5 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.9303, allocations: 9.297 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.9304, allocations: 7 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.9304, allocations: 0.625 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.9304, allocations: 0.5 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9304, allocations: 0.6562 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.957e-05/0.9305, allocations: 123.6 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.9305, allocations: 0 / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.9305, allocations: 7.984 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.9306, allocations: 1.906 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.9306, allocations: 8.438 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.9306, allocations: 0 / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.9306, allocations: 4.5 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.85e-05/0.9307, allocations: 54.88 kB / 1.099 GB, free: 1.379 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001802/0.9308, allocations: 442.2 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.9309, allocations: 82.03 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.9309, allocations: 0 / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.931, allocations: 5.406 kB / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.931, allocations: 0 / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.931, allocations: 2.031 kB / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.427e-05/0.931, allocations: 75.97 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007668/0.9318, allocations: 3.906 kB / 1.1 GB, free: 0.75 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.0001095/0.9319, allocations: 108.2 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.363e-05/0.932, allocations: 12.64 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.932, allocations: 1.781 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.094e-06/0.932, allocations: 0.625 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.465e-05/0.9321, allocations: 7.312 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001694/0.9323, allocations: 44.91 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.9325, allocations: 0.6841 MB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of SimCode: time 1.573e-06/0.9325, allocations: 0 / 1.1 GB, free: 15.84 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)