Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004548/0.004548, allocations: 187 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7777/0.7777, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 103.1 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5026/0.5036, allocations: 88.44 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.6859, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5865/1.272, allocations: 110.4 MB / 0.7411 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003898/1.273, allocations: 81.38 kB / 0.7412 GB, free: 10.98 MB / 0.4948 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.003096/1.276, allocations: 0.8604 MB / 0.742 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/1.276, allocations: 8.391 kB / 0.7421 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/1.276, allocations: 3.906 kB / 0.7421 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/1.276, allocations: 172.3 kB / 0.7422 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/1.276, allocations: 0 / 0.7422 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/1.276, allocations: 0 / 0.7422 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.619e-05/1.276, allocations: 8.469 kB / 0.7422 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.66e-05/1.276, allocations: 33.92 kB / 0.7423 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.277, allocations: 0.9375 kB / 0.7423 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/1.277, allocations: 0 / 0.7423 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/1.277, allocations: 3.906 kB / 0.7423 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/1.277, allocations: 131.9 kB / 0.7424 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/1.277, allocations: 31.14 kB / 0.7424 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/1.277, allocations: 4.859 kB / 0.7424 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/1.277, allocations: 86.95 kB / 0.7425 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/1.277, allocations: 35.16 kB / 0.7425 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/1.277, allocations: 3.984 kB / 0.7425 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.002687/1.28, allocations: 359.2 kB / 0.7429 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/1.28, allocations: 59.84 kB / 0.7429 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.911e-05/1.28, allocations: 89 kB / 0.743 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/1.28, allocations: 25.7 kB / 0.7431 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/1.28, allocations: 80.14 kB / 0.7431 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/1.28, allocations: 17.45 kB / 0.7431 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/1.28, allocations: 3.938 kB / 0.7431 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001026/1.28, allocations: 311.6 kB / 0.7434 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.603e-05/1.28, allocations: 4.391 kB / 0.7435 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.761e-05/1.28, allocations: 31.45 kB / 0.7435 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/1.28, allocations: 22.36 kB / 0.7435 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/1.28, allocations: 0 / 0.7435 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002091/1.28, allocations: 66.77 kB / 0.7436 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/1.281, allocations: 3.875 kB / 0.7436 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/1.281, allocations: 3.844 kB / 0.7436 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/1.281, allocations: 1.391 kB / 0.7436 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/1.281, allocations: 53.88 kB / 0.7436 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/1.281, allocations: 0 / 0.7436 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/1.281, allocations: 40.06 kB / 0.7437 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/1.281, allocations: 5 kB / 0.7437 GB, free: 25.31 MB / 0.5105 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 9.843e-05/1.281, allocations: 113.5 kB / 0.7438 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/1.281, allocations: 7.656 kB / 0.7438 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/1.282, allocations: 97.42 kB / 0.7439 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.282, allocations: 3.875 kB / 0.7439 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.282, allocations: 0.6094 kB / 0.7439 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.282, allocations: 0 / 0.7439 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/1.282, allocations: 295 kB / 0.7442 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.282, allocations: 0 / 0.7442 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/1.283, allocations: 50.42 kB / 0.7442 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/1.283, allocations: 0 / 0.7442 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/1.283, allocations: 4.172 kB / 0.7442 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.283, allocations: 0 / 0.7442 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.283, allocations: 3.906 kB / 0.7442 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002418/1.283, allocations: 158.6 kB / 0.7444 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003758/1.284, allocations: 0.5314 MB / 0.7449 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/1.284, allocations: 80.48 kB / 0.745 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/1.284, allocations: 3.875 kB / 0.745 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/1.284, allocations: 40.55 kB / 0.745 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/1.284, allocations: 5.312 kB / 0.745 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/1.284, allocations: 1.5 kB / 0.745 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.995e-05/1.284, allocations: 75.28 kB / 0.7451 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000795/1.285, allocations: 15.66 kB / 0.7451 GB, free: 24.03 MB / 0.5105 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.0001859/1.285, allocations: 109.8 kB / 0.7452 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001467/1.285, allocations: 33.09 kB / 0.7452 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/1.285, allocations: 0 / 0.7452 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.735e-05/1.285, allocations: 16.14 kB / 0.7453 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/1.285, allocations: 0 / 0.7453 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/1.286, allocations: 99.81 kB / 0.7453 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/1.286, allocations: 0.6975 MB / 0.746 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/1.286, allocations: 0 / 0.746 GB, free: 23.15 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)