Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.987/1.987, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 185.3 kB / 487 MB, free: 5.355 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 221.3 MB / 0.7819 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009167/0.0009165, allocations: 92.62 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.456/0.4569, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.6561, allocations: 142.3 MB / 1.205 GB, free: 26.06 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5471/1.203, allocations: 148.3 MB / 1.35 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/1.203, allocations: 74.34 kB / 1.35 GB, free: 15.64 MB / 0.8073 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.002449/1.206, allocations: 0.8645 MB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/1.206, allocations: 11.77 kB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/1.206, allocations: 0 / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.703e-05/1.206, allocations: 168.9 kB / 1.351 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/1.206, allocations: 0 / 1.351 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/1.206, allocations: 6.25 kB / 1.351 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.086e-05/1.206, allocations: 5.25 kB / 1.351 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.826e-05/1.206, allocations: 34.61 kB / 1.351 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.206, allocations: 1.312 kB / 1.351 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/1.206, allocations: 1.359 kB / 1.351 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.206, allocations: 3.984 kB / 1.351 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.992e-05/1.206, allocations: 133 kB / 1.351 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/1.206, allocations: 27.25 kB / 1.351 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/1.207, allocations: 12.39 kB / 1.351 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/1.207, allocations: 86.62 kB / 1.352 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/1.207, allocations: 31.81 kB / 1.352 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/1.207, allocations: 0 / 1.352 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.002653/1.209, allocations: 366.7 kB / 1.352 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.512e-05/1.209, allocations: 51.41 kB / 1.352 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.466e-05/1.209, allocations: 90.44 kB / 1.352 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/1.209, allocations: 25.7 kB / 1.352 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.777e-06/1.209, allocations: 80.14 kB / 1.352 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/1.209, allocations: 14.25 kB / 1.352 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/1.21, allocations: 1.25 kB / 1.352 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.43e-05/1.21, allocations: 314.8 kB / 1.352 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/1.21, allocations: 9.594 kB / 1.352 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/1.21, allocations: 27.86 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/1.21, allocations: 19.33 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/1.21, allocations: 1.531 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002049/1.21, allocations: 71 kB / 1.353 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.21, allocations: 4.844 kB / 1.353 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.21, allocations: 0 / 1.353 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/1.21, allocations: 1.531 kB / 1.353 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/1.21, allocations: 49.95 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/1.21, allocations: 2.828 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/1.211, allocations: 47.05 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/1.211, allocations: 3.125 kB / 1.353 GB, free: 13.98 MB / 0.8073 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 6.267e-05/1.211, allocations: 118 kB / 1.353 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/1.211, allocations: 6.734 kB / 1.353 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/1.211, allocations: 94.19 kB / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.211, allocations: 1.656 kB / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.211, allocations: 0 / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.211, allocations: 1.359 kB / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/1.212, allocations: 293.5 kB / 1.353 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.212, allocations: 0 / 1.353 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/1.212, allocations: 50.83 kB / 1.353 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.212, allocations: 0 / 1.353 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/1.212, allocations: 1.312 kB / 1.353 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.212, allocations: 0 / 1.353 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.212, allocations: 6.188 kB / 1.353 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002068/1.212, allocations: 162 kB / 1.353 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002332/1.213, allocations: 0.5343 MB / 1.354 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/1.213, allocations: 78.7 kB / 1.354 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/1.213, allocations: 1.25 kB / 1.354 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/1.213, allocations: 39.8 kB / 1.354 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/1.213, allocations: 4.297 kB / 1.354 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/1.213, allocations: 1.375 kB / 1.354 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.032e-05/1.213, allocations: 75.28 kB / 1.354 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008207/1.214, allocations: 14.84 kB / 1.354 GB, free: 12.71 MB / 0.8073 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.0001367/1.214, allocations: 108.8 kB / 1.354 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001295/1.214, allocations: 30.22 kB / 1.354 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.214, allocations: 0 / 1.354 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.874e-05/1.214, allocations: 10.69 kB / 1.354 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/1.215, allocations: 1.594 kB / 1.354 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/1.215, allocations: 104.6 kB / 1.354 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/1.215, allocations: 0.6937 MB / 1.355 GB, free: 27.84 MB / 0.823 GB Notification: Performance of SimCode: time 3.21e-07/1.215, allocations: 0 / 1.355 GB, free: 27.84 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat does not exist to compare? outputFormat=mat