Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.004139/0.004139, allocations: 180.3 kB / 7.458 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.6869/0.6869, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.685/1.685, 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.001061/0.001061, allocations: 101.2 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4844/0.4856, allocations: 88.44 MB / 0.5529 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.6804, allocations: 82.31 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6654/1.346, allocations: 110.7 MB / 0.7414 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/1.346, allocations: 75.39 kB / 0.7415 GB, free: 10.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02314/1.369, allocations: 5.081 MB / 0.7464 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.37, allocations: 7.688 kB / 0.7464 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.714e-05/1.37, allocations: 7.719 kB / 0.7464 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/1.37, allocations: 164.4 kB / 0.7466 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/1.37, allocations: 3.906 kB / 0.7466 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/1.37, allocations: 4.453 kB / 0.7466 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001123/1.37, allocations: 24.47 kB / 0.7466 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/1.37, allocations: 44.08 kB / 0.7467 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/1.37, allocations: 0.75 kB / 0.7467 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/1.37, allocations: 0 / 0.7467 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/1.37, allocations: 0 / 0.7467 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/1.371, allocations: 142.2 kB / 0.7468 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/1.371, allocations: 33.91 kB / 0.7468 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/1.371, allocations: 24.56 kB / 0.7469 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/1.372, allocations: 466.4 kB / 0.7473 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.372, allocations: 37.81 kB / 0.7473 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/1.372, allocations: 0 / 0.7473 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.00166/1.374, allocations: 0.5193 MB / 0.7479 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/1.374, allocations: 55.28 kB / 0.7479 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/1.374, allocations: 89.58 kB / 0.748 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/1.374, allocations: 25.7 kB / 0.748 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/1.374, allocations: 84.66 kB / 0.7481 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/1.374, allocations: 33.62 kB / 0.7481 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/1.374, allocations: 0 / 0.7481 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.374, allocations: 316.1 kB / 0.7484 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.333e-05/1.374, allocations: 22.34 kB / 0.7485 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.841e-05/1.374, allocations: 17.97 kB / 0.7485 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/1.374, allocations: 25.47 kB / 0.7485 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/1.374, allocations: 0 / 0.7485 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000298/1.375, allocations: 95.14 kB / 0.7486 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.375, allocations: 3.844 kB / 0.7486 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.375, allocations: 0 / 0.7486 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.375, allocations: 0.75 kB / 0.7486 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/1.375, allocations: 21.89 kB / 0.7486 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.375, allocations: 0.6562 kB / 0.7486 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/1.375, allocations: 4 kB / 0.7486 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/1.375, allocations: 7.188 kB / 0.7486 GB, free: 23.98 MB / 0.5105 GB 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 (13): * Single equations (assignments): 13 * 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 0.0001115/1.375, allocations: 109.5 kB / 0.7487 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/1.375, allocations: 11.72 kB / 0.7487 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/1.376, allocations: 96.27 kB / 0.7488 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.376, allocations: 3.984 kB / 0.7488 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.376, allocations: 0.5625 kB / 0.7488 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.376, allocations: 4.656 kB / 0.7488 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/1.376, allocations: 329.4 kB / 0.7492 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.376, allocations: 0 / 0.7492 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/1.376, allocations: 18.53 kB / 0.7492 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.377, allocations: 3.844 kB / 0.7492 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/1.377, allocations: 0.7969 kB / 0.7492 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.377, allocations: 0 / 0.7492 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.377, allocations: 0 / 0.7492 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004085/1.377, allocations: 203.2 kB / 0.7494 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005769/1.378, allocations: 0.6074 MB / 0.75 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/1.378, allocations: 91.64 kB / 0.75 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/1.378, allocations: 0.5156 kB / 0.75 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/1.378, allocations: 4.656 kB / 0.7501 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/1.378, allocations: 2.578 kB / 0.7501 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/1.378, allocations: 4.656 kB / 0.7501 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.25e-05/1.378, allocations: 90.44 kB / 0.7501 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001666/1.38, allocations: 53.19 kB / 0.7502 GB, free: 22.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003796/1.38, allocations: 161 kB / 0.7503 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001762/1.38, allocations: 51.48 kB / 0.7504 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.38, allocations: 0 / 0.7504 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.626e-05/1.38, allocations: 34.58 kB / 0.7504 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/1.381, allocations: 3.859 kB / 0.7504 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/1.381, allocations: 124.3 kB / 0.7506 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/1.382, allocations: 0.7099 MB / 0.7512 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/1.382, allocations: 0 / 0.7512 GB, free: 21.78 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)