Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_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.003714/0.003714, allocations: 183.2 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7462/0.7462, allocations: 133.5 MB / 141.4 MB, free: 15.79 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.721/1.721, allocations: 221.3 MB / 395 MB, free: 10.27 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.00118/0.00118, allocations: 102.7 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.617/0.6183, allocations: 88.44 MB / 0.5529 GB, free: 88.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.8527, allocations: 82.31 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7004/1.553, allocations: 110.4 MB / 0.7411 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.553, allocations: 77.03 kB / 0.7412 GB, free: 10.79 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.002592/1.556, allocations: 0.8713 MB / 0.742 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.556, allocations: 11.5 kB / 0.7421 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/1.556, allocations: 3.906 kB / 0.7421 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/1.556, allocations: 164.3 kB / 0.7422 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/1.556, allocations: 0 / 0.7422 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/1.556, allocations: 3.812 kB / 0.7422 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.257e-05/1.556, allocations: 8.812 kB / 0.7422 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.965e-05/1.556, allocations: 34.31 kB / 0.7423 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/1.557, allocations: 4.797 kB / 0.7423 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-06/1.557, allocations: 0 / 0.7423 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.557, allocations: 3.906 kB / 0.7423 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/1.557, allocations: 127.6 kB / 0.7424 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/1.557, allocations: 22.95 kB / 0.7424 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/1.557, allocations: 8.734 kB / 0.7424 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/1.557, allocations: 84 kB / 0.7425 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/1.557, allocations: 38.8 kB / 0.7425 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/1.557, allocations: 3.938 kB / 0.7425 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.002602/1.56, allocations: 356.9 kB / 0.7429 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/1.56, allocations: 55.72 kB / 0.7429 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.659e-05/1.56, allocations: 85 kB / 0.743 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/1.56, allocations: 29.7 kB / 0.743 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/1.56, allocations: 80.14 kB / 0.7431 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/1.56, allocations: 13.25 kB / 0.7431 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/1.56, allocations: 3.938 kB / 0.7431 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.56, allocations: 315.5 kB / 0.7434 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.619e-05/1.56, allocations: 8.609 kB / 0.7434 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.316e-05/1.56, allocations: 30.23 kB / 0.7435 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/1.56, allocations: 18.72 kB / 0.7435 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/1.56, allocations: 0.7969 kB / 0.7435 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002019/1.56, allocations: 69.55 kB / 0.7436 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.56, allocations: 7.844 kB / 0.7436 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.56, allocations: 0 / 0.7436 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/1.56, allocations: 0.75 kB / 0.7436 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/1.561, allocations: 54.22 kB / 0.7436 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/1.561, allocations: 0 / 0.7436 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/1.561, allocations: 40.39 kB / 0.7437 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/1.561, allocations: 4.484 kB / 0.7437 GB, free: 25.12 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 8.788e-05/1.561, allocations: 109.5 kB / 0.7438 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/1.561, allocations: 11.72 kB / 0.7438 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/1.562, allocations: 105.8 kB / 0.7439 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/1.562, allocations: 0 / 0.7439 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.562, allocations: 0.9844 kB / 0.7439 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.562, allocations: 0 / 0.7439 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/1.562, allocations: 290 kB / 0.7442 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.562, allocations: 1.5 kB / 0.7442 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/1.563, allocations: 57.73 kB / 0.7442 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/1.563, allocations: 0 / 0.7442 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/1.563, allocations: 3.188 kB / 0.7442 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.563, allocations: 5.156 kB / 0.7442 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.563, allocations: 3.906 kB / 0.7442 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002951/1.563, allocations: 151.9 kB / 0.7444 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004675/1.564, allocations: 0.5326 MB / 0.7449 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/1.564, allocations: 77.11 kB / 0.745 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/1.564, allocations: 64 / 0.745 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/1.564, allocations: 44.91 kB / 0.745 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/1.564, allocations: 9.203 kB / 0.745 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/1.564, allocations: 5.531 kB / 0.745 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.292e-05/1.564, allocations: 75.28 kB / 0.7451 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009867/1.565, allocations: 11.62 kB / 0.7451 GB, free: 23.83 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.0003221/1.566, allocations: 113.4 kB / 0.7452 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000196/1.566, allocations: 25.08 kB / 0.7452 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.566, allocations: 0 / 0.7452 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.258e-05/1.566, allocations: 16.25 kB / 0.7453 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/1.566, allocations: 3.875 kB / 0.7453 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/1.567, allocations: 105.2 kB / 0.7454 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/1.567, allocations: 0.694 MB / 0.746 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/1.567, allocations: 0 / 0.746 GB, free: 22.95 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)