Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.295/1.295, allocations: 249.4 MB / 256.7 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 181.2 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.2 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 89.62 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.374/0.3751, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.5577, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5385/1.096, allocations: 131.9 MB / 1.013 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/1.097, allocations: 80.12 kB / 1.014 GB, free: 6.688 MB / 0.6355 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.002268/1.099, allocations: 0.8301 MB / 1.014 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.099, allocations: 8 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/1.099, allocations: 7.906 kB / 1.014 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/1.099, allocations: 159.1 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/1.099, allocations: 3.938 kB / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/1.099, allocations: 0 / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.436e-05/1.099, allocations: 11.92 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.594e-05/1.099, allocations: 41.42 kB / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.099, allocations: 0 / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/1.099, allocations: 0 / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.099, allocations: 4 kB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/1.099, allocations: 126.2 kB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/1.099, allocations: 25.47 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/1.1, allocations: 7.484 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/1.1, allocations: 89.23 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/1.1, allocations: 38.5 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/1.1, allocations: 0 / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.002497/1.102, allocations: 360.5 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/1.102, allocations: 51.41 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.61e-05/1.102, allocations: 89 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.102, allocations: 25.7 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.239e-05/1.102, allocations: 83.64 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/1.102, allocations: 15.8 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/1.102, allocations: 0 / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/1.102, allocations: 318.7 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-05/1.102, allocations: 10.5 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/1.103, allocations: 25.56 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.988e-05/1.103, allocations: 19.98 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/1.103, allocations: 0 / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002015/1.103, allocations: 68.84 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.103, allocations: 4 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/1.103, allocations: 0 / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/1.103, allocations: 4 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/1.103, allocations: 51.94 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.103, allocations: 0 / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/1.104, allocations: 39.98 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/1.104, allocations: 7.984 kB / 1.016 GB, free: 4.129 MB / 0.6355 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 7.327e-05/1.104, allocations: 112.8 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/1.104, allocations: 0 / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004158/1.104, allocations: 104 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/1.104, allocations: 0 / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.104, allocations: 4.219 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.104, allocations: 0 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/1.105, allocations: 285.8 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.105, allocations: 3.938 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/1.105, allocations: 55.95 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/1.105, allocations: 3.906 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/1.105, allocations: 5.984 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.105, allocations: 0 / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.105, allocations: 0 / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002819/1.105, allocations: 156.4 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003245/1.106, allocations: 0.5374 MB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/1.106, allocations: 77.11 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/1.106, allocations: 3.906 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/1.106, allocations: 44.41 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/1.106, allocations: 0 / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/1.106, allocations: 4 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.842e-05/1.106, allocations: 75.28 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008488/1.107, allocations: 15.94 kB / 1.017 GB, free: 2.582 MB / 0.6355 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.0001728/1.107, allocations: 115.2 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001301/1.108, allocations: 26.56 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.108, allocations: 3.938 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.846e-05/1.108, allocations: 15.98 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/1.108, allocations: 0 / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/1.108, allocations: 98.84 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/1.109, allocations: 0.6949 MB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/1.109, allocations: 0 / 1.018 GB, free: 1.586 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)