Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.004914/0.004914, allocations: 187.7 kB / 7.46 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7037/0.7037, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.446/1.446, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009303/0.0009304, allocations: 88.55 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4437/0.4446, allocations: 88.45 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.6109, allocations: 82.31 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4997/1.111, allocations: 110.5 MB / 0.7413 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/1.111, allocations: 74.81 kB / 0.7413 GB, free: 10.74 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01268/1.124, allocations: 4.535 MB / 0.7458 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.124, allocations: 7.688 kB / 0.7458 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/1.124, allocations: 8.75 kB / 0.7458 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/1.124, allocations: 160.5 kB / 0.7459 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/1.124, allocations: 1.125 kB / 0.7459 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/1.124, allocations: 3.844 kB / 0.7459 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.618e-05/1.124, allocations: 4 kB / 0.7459 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.413e-05/1.124, allocations: 35.02 kB / 0.746 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/1.124, allocations: 0 / 0.746 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.124, allocations: 4.984 kB / 0.746 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/1.124, allocations: 0 / 0.746 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/1.124, allocations: 131.9 kB / 0.7461 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/1.124, allocations: 18.55 kB / 0.7461 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/1.124, allocations: 16.11 kB / 0.7461 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/1.125, allocations: 458.9 kB / 0.7466 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/1.125, allocations: 31.19 kB / 0.7466 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.125, allocations: 3.938 kB / 0.7466 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005838/1.126, allocations: 245.1 kB / 0.7468 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/1.126, allocations: 55.91 kB / 0.7469 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.962e-05/1.126, allocations: 89.16 kB / 0.747 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/1.126, allocations: 25.7 kB / 0.747 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/1.126, allocations: 80.14 kB / 0.7471 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/1.126, allocations: 12.5 kB / 0.7471 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/1.126, allocations: 0 / 0.7471 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.126, allocations: 315.1 kB / 0.7474 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/1.126, allocations: 8 kB / 0.7474 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/1.126, allocations: 16.77 kB / 0.7474 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/1.126, allocations: 9.125 kB / 0.7474 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/1.126, allocations: 0 / 0.7474 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001107/1.126, allocations: 50.75 kB / 0.7475 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/1.126, allocations: 7.781 kB / 0.7475 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.126, allocations: 144 / 0.7475 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/1.126, allocations: 4.062 kB / 0.7475 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/1.126, allocations: 9.391 kB / 0.7475 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/1.126, allocations: 11.72 kB / 0.7475 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/1.126, allocations: 0 / 0.7475 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/1.126, allocations: 3.828 kB / 0.7475 GB, free: 24.28 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.204e-05/1.126, allocations: 108.8 kB / 0.7476 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/1.126, allocations: 0.5625 kB / 0.7476 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/1.127, allocations: 57.94 kB / 0.7477 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.127, allocations: 3.844 kB / 0.7477 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.127, allocations: 0 / 0.7477 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.127, allocations: 0.75 kB / 0.7477 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.504e-05/1.127, allocations: 128.8 kB / 0.7478 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.127, allocations: 0.7969 kB / 0.7478 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/1.127, allocations: 7.922 kB / 0.7478 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.127, allocations: 0 / 0.7478 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/1.127, allocations: 0.8906 kB / 0.7478 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.127, allocations: 4 kB / 0.7478 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.127, allocations: 3.844 kB / 0.7478 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001447/1.127, allocations: 76.58 kB / 0.7479 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002683/1.127, allocations: 463.8 kB / 0.7483 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/1.127, allocations: 77.62 kB / 0.7484 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/1.127, allocations: 4.875 kB / 0.7484 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.702e-05/1.127, allocations: 0 / 0.7484 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/1.127, allocations: 12.77 kB / 0.7484 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/1.127, allocations: 0.6562 kB / 0.7484 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.933e-05/1.127, allocations: 75.28 kB / 0.7485 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007976/1.128, allocations: 40.7 kB / 0.7485 GB, free: 23.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002429/1.128, allocations: 143.2 kB / 0.7487 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.332e-05/1.129, allocations: 15.48 kB / 0.7487 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.129, allocations: 0 / 0.7487 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/1.129, allocations: 8.406 kB / 0.7487 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/1.129, allocations: 8.109 kB / 0.7487 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/1.129, allocations: 70.64 kB / 0.7488 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/1.129, allocations: 0.6919 MB / 0.7494 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/1.129, allocations: 0 / 0.7494 GB, free: 22.38 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)