Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") [: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 3.0.0/package.mo): time 0.8185/0.8185, allocations: 132.4 MB / 139.7 MB, free: 15.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009837/0.0009839, allocations: 174.3 kB / 171.6 MB, free: 2 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.31/1.31, allocations: 170.5 MB / 373.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001664/0.001664, allocations: 106.2 kB / 444.4 MB, free: 9.371 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.479/0.479, allocations: 73.39 MB / 0.666 GB, free: 62.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.606, allocations: 100.8 MB / 0.7645 GB, free: 3.438 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.6062, allocations: 73.38 kB / 0.7645 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.00255/0.6088, allocations: 0.613 MB / 0.7651 GB, free: 2.785 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.6088, allocations: 0 / 0.7651 GB, free: 2.785 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004073/0.6092, allocations: 343.4 kB / 0.7655 GB, free: 2.406 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.6093, allocations: 8.031 kB / 0.7655 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.6094, allocations: 2.031 kB / 0.7655 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.6095, allocations: 174.9 kB / 0.7656 GB, free: 2.188 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.6095, allocations: 0 / 0.7656 GB, free: 2.188 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.6096, allocations: 0 / 0.7656 GB, free: 2.188 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.217e-05/0.6097, allocations: 15.98 kB / 0.7657 GB, free: 2.172 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.95e-05/0.6097, allocations: 33.7 kB / 0.7657 GB, free: 2.133 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.6098, allocations: 4 kB / 0.7657 GB, free: 2.129 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.6098, allocations: 0 / 0.7657 GB, free: 2.129 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.6098, allocations: 0.6562 kB / 0.7657 GB, free: 2.129 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.6103, allocations: 253.4 kB / 0.7659 GB, free: 1.844 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.85e-05/0.6104, allocations: 26.58 kB / 0.766 GB, free: 1.809 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.6105, allocations: 8.922 kB / 0.766 GB, free: 1.797 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003727/0.6108, allocations: 208.4 kB / 0.7662 GB, free: 1.559 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.6109, allocations: 34.56 kB / 0.7662 GB, free: 1.516 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.6109, allocations: 0 / 0.7662 GB, free: 1.516 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002426/0.6111, allocations: 63.2 kB / 0.7663 GB, free: 1.449 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.6112, allocations: 55.44 kB / 0.7663 GB, free: 1.383 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.62e-05/0.6112, allocations: 91.38 kB / 0.7664 GB, free: 1.289 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.6113, allocations: 25.7 kB / 0.7664 GB, free: 1.258 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.6113, allocations: 84.14 kB / 0.7665 GB, free: 1.172 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.6113, allocations: 11.89 kB / 0.7665 GB, free: 1.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.6113, allocations: 0.875 kB / 0.7665 GB, free: 1.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6115, allocations: 310.8 kB / 0.7668 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.6115, allocations: 8 kB / 0.7668 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/0.6115, allocations: 8 kB / 0.7668 GB, free: 0.832 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.649e-05/0.6116, allocations: 15.97 kB / 0.7668 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.6116, allocations: 4 kB / 0.7668 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001264/0.6117, allocations: 53.58 kB / 0.7669 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.6117, allocations: 8 kB / 0.7669 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.6118, allocations: 2.734 kB / 0.7669 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.6118, allocations: 0 / 0.7669 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.6119, allocations: 16.08 kB / 0.7669 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.6119, allocations: 3.938 kB / 0.7669 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.612, allocations: 11.69 kB / 0.7669 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.612, allocations: 0 / 0.7669 GB, free: 0.7188 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 (2): * Single equations (assignments): 2 * 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 8.089e-05/0.6121, allocations: 105 kB / 0.767 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.6121, allocations: 7.906 kB / 0.767 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.6123, allocations: 56.98 kB / 0.7671 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6123, allocations: 0 / 0.7671 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6123, allocations: 4 kB / 0.7671 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6123, allocations: 0 / 0.7671 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.6125, allocations: 143.9 kB / 0.7672 GB, free: 372 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.6125, allocations: 0 / 0.7672 GB, free: 372 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.6126, allocations: 11.98 kB / 0.7673 GB, free: 360 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.6126, allocations: 4.031 kB / 0.7673 GB, free: 356 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.6126, allocations: 0.625 kB / 0.7673 GB, free: 356 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.6126, allocations: 0 / 0.7673 GB, free: 356 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6126, allocations: 4 kB / 0.7673 GB, free: 352 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001892/0.6128, allocations: 155.1 kB / 0.7674 GB, free: 184 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.6129, allocations: 81.11 kB / 0.7675 GB, free: 84 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.6129, allocations: 1.938 kB / 0.7675 GB, free: 84 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.613, allocations: 16.02 kB / 0.7675 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.6131, allocations: 0 / 0.7675 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.6131, allocations: 0 / 0.7675 GB, free: 68 kB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001009/0.6132, allocations: 91.2 kB / 0.7676 GB, free: 15.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.6134, allocations: 15.84 kB / 0.7676 GB, free: 15.96 MB / 490.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 (2): * Single equations (assignments): 2 * 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.0001977/0.6136, allocations: 99.25 kB / 0.7677 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.005e-05/0.6137, allocations: 20 kB / 0.7677 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6137, allocations: 0 / 0.7677 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.489e-05/0.6138, allocations: 7.938 kB / 0.7677 GB, free: 15.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.614, allocations: 4.938 kB / 0.7677 GB, free: 15.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.6142, allocations: 59.91 kB / 0.7678 GB, free: 15.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.6146, allocations: 0.6841 MB / 0.7685 GB, free: 15.03 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6146, allocations: 4 kB / 0.7685 GB, free: 15.03 MB / 490.7 MB Notification: Performance of Templates: time 0.002674/0.6173, allocations: 0.5701 MB / 0.769 GB, free: 14.49 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)