Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.00171/0.00171, allocations: 173.3 kB / 366.3 MB, free: 2.008 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.705/1.705, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0009747/0.0009745, allocations: 104.2 kB / 0.7396 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.31/0.311, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7431/1.054, allocations: 116.3 MB / 0.9727 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/1.248, allocations: 138.1 MB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.248, allocations: 75.95 kB / 1.108 GB, free: 12.32 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002732/1.251, allocations: 0.8379 MB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.251, allocations: 8 kB / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/1.251, allocations: 0 / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/1.251, allocations: 167.7 kB / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/1.251, allocations: 0 / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/1.251, allocations: 0.5 kB / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.32e-05/1.251, allocations: 8.531 kB / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.111e-05/1.251, allocations: 37.23 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.251, allocations: 0 / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/1.251, allocations: 0 / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.251, allocations: 0 / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/1.251, allocations: 135 kB / 1.109 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/1.252, allocations: 22.34 kB / 1.109 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/1.252, allocations: 13.7 kB / 1.109 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/1.252, allocations: 85.75 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/1.252, allocations: 32.84 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/1.252, allocations: 4.531 kB / 1.109 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.002795/1.255, allocations: 366.8 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/1.255, allocations: 53.31 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.921e-05/1.255, allocations: 85.56 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/1.255, allocations: 25.7 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/1.255, allocations: 80.73 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/1.255, allocations: 12.38 kB / 1.109 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/1.255, allocations: 0.625 kB / 1.109 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.255, allocations: 319.4 kB / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/1.255, allocations: 4 kB / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/1.255, allocations: 39.08 kB / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/1.255, allocations: 15.97 kB / 1.11 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/1.255, allocations: 4 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002214/1.256, allocations: 69.52 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/1.256, allocations: 5.406 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/1.256, allocations: 2.422 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.256, allocations: 96 / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/1.256, allocations: 55.95 kB / 1.11 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/1.256, allocations: 0 / 1.11 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/1.256, allocations: 39.98 kB / 1.11 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/1.256, allocations: 4 kB / 1.11 GB, free: 9.645 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001089/1.257, allocations: 105 kB / 1.11 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/1.257, allocations: 3.906 kB / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004459/1.257, allocations: 106.3 kB / 1.11 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.257, allocations: 0 / 1.11 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.257, allocations: 0 / 1.11 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.257, allocations: 0 / 1.11 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/1.258, allocations: 295 kB / 1.11 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.258, allocations: 1.5 kB / 1.11 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/1.258, allocations: 52.84 kB / 1.111 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.258, allocations: 4 kB / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/1.258, allocations: 288 / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.258, allocations: 0 / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.258, allocations: 0 / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003057/1.258, allocations: 166 kB / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004273/1.259, allocations: 0.5288 MB / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/1.259, allocations: 85.09 kB / 1.111 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/1.259, allocations: 0 / 1.111 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/1.259, allocations: 43.97 kB / 1.111 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/1.259, allocations: 4.594 kB / 1.111 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/1.259, allocations: 0 / 1.111 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.849e-05/1.26, allocations: 75.28 kB / 1.111 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008594/1.26, allocations: 23.84 kB / 1.111 GB, free: 8.062 MB / 0.7136 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 (5): * Single equations (assignments): 5 * 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.0001767/1.261, allocations: 107.2 kB / 1.112 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001531/1.261, allocations: 24 kB / 1.112 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.261, allocations: 0 / 1.112 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.129e-05/1.261, allocations: 20.72 kB / 1.112 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/1.261, allocations: 7.984 kB / 1.112 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/1.262, allocations: 96.09 kB / 1.112 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/1.262, allocations: 0.6919 MB / 1.112 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of SimCode: time 3.9e-07/1.262, allocations: 0 / 1.112 GB, free: 7.062 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)