Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_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.000979/0.0009789, allocations: 185.4 kB / 7.462 MB, free: 1.551 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6471/0.6471, allocations: 133.5 MB / 141.4 MB, free: 4.992 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.3 MB / 395 MB, free: 13.81 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009788/0.0009791, allocations: 88.53 kB / 477.8 MB, free: 11.12 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3552/0.3562, allocations: 88.46 MB / 0.5529 GB, free: 49.92 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6343/0.9905, allocations: 82.31 MB / 0.6333 GB, free: 5.645 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/1.181, allocations: 110.5 MB / 0.7413 GB, free: 11 MB / 0.5183 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/1.181, allocations: 79.95 kB / 0.7413 GB, free: 10.92 MB / 0.5183 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.01458/1.196, allocations: 4.531 MB / 0.7458 GB, free: 6.352 MB / 0.5183 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.196, allocations: 8 kB / 0.7458 GB, free: 6.344 MB / 0.5183 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.214e-05/1.196, allocations: 11.91 kB / 0.7458 GB, free: 6.332 MB / 0.5183 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/1.196, allocations: 159.1 kB / 0.7459 GB, free: 6.137 MB / 0.5183 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/1.196, allocations: 0 / 0.7459 GB, free: 6.137 MB / 0.5183 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/1.196, allocations: 0 / 0.7459 GB, free: 6.137 MB / 0.5183 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.029e-05/1.196, allocations: 4 kB / 0.7459 GB, free: 6.133 MB / 0.5183 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.631e-05/1.197, allocations: 34.72 kB / 0.746 GB, free: 6.094 MB / 0.5183 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/1.197, allocations: 0 / 0.746 GB, free: 6.094 MB / 0.5183 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/1.197, allocations: 3.906 kB / 0.746 GB, free: 6.09 MB / 0.5183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/1.197, allocations: 0 / 0.746 GB, free: 6.09 MB / 0.5183 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/1.197, allocations: 138.2 kB / 0.7461 GB, free: 5.918 MB / 0.5183 GB Notification: Performance of preOpt comSubExp (simulation): time 4.845e-05/1.197, allocations: 26.53 kB / 0.7461 GB, free: 5.883 MB / 0.5183 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/1.197, allocations: 4.859 kB / 0.7461 GB, free: 5.875 MB / 0.5183 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/1.198, allocations: 461.5 kB / 0.7466 GB, free: 5.332 MB / 0.5183 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/1.198, allocations: 34.56 kB / 0.7466 GB, free: 5.289 MB / 0.5183 GB Notification: Performance of pre-optimization done (n=2): time 3.166e-06/1.198, allocations: 4 kB / 0.7466 GB, free: 5.285 MB / 0.5183 GB Notification: Performance of matching and sorting (n=3): time 0.0007127/1.198, allocations: 246.2 kB / 0.7468 GB, free: 4.992 MB / 0.5183 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/1.198, allocations: 59.33 kB / 0.7469 GB, free: 4.922 MB / 0.5183 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/1.198, allocations: 85 kB / 0.747 GB, free: 4.832 MB / 0.5183 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/1.198, allocations: 29.7 kB / 0.747 GB, free: 4.797 MB / 0.5183 GB Notification: Performance of collectInitialEqns (initialization): time 9.533e-05/1.199, allocations: 80.39 kB / 0.7471 GB, free: 4.715 MB / 0.5183 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/1.199, allocations: 15.81 kB / 0.7471 GB, free: 4.699 MB / 0.5183 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/1.199, allocations: 0 / 0.7471 GB, free: 4.699 MB / 0.5183 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.199, allocations: 310.8 kB / 0.7474 GB, free: 4.387 MB / 0.5183 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/1.199, allocations: 4 kB / 0.7474 GB, free: 4.383 MB / 0.5183 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-05/1.199, allocations: 21.7 kB / 0.7474 GB, free: 4.355 MB / 0.5183 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/1.199, allocations: 4 kB / 0.7474 GB, free: 4.352 MB / 0.5183 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/1.199, allocations: 4 kB / 0.7474 GB, free: 4.348 MB / 0.5183 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001141/1.199, allocations: 53.62 kB / 0.7475 GB, free: 4.289 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.199, allocations: 8 kB / 0.7475 GB, free: 4.281 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.199, allocations: 0 / 0.7475 GB, free: 4.281 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.199, allocations: 0 / 0.7475 GB, free: 4.281 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/1.199, allocations: 4 kB / 0.7475 GB, free: 4.277 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.199, allocations: 11.89 kB / 0.7475 GB, free: 4.266 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/1.199, allocations: 0 / 0.7475 GB, free: 4.266 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/1.199, allocations: 0 / 0.7475 GB, free: 4.266 MB / 0.5183 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 8.059e-05/1.199, allocations: 109 kB / 0.7476 GB, free: 4.152 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/1.199, allocations: 0 / 0.7476 GB, free: 4.152 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/1.2, allocations: 65.2 kB / 0.7477 GB, free: 4.074 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.2, allocations: 0 / 0.7477 GB, free: 4.074 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.2, allocations: 0 / 0.7477 GB, free: 4.074 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.2, allocations: 4 kB / 0.7477 GB, free: 4.07 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/1.2, allocations: 130.2 kB / 0.7478 GB, free: 3.906 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/1.2, allocations: 4 kB / 0.7478 GB, free: 3.902 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/1.2, allocations: 8 kB / 0.7478 GB, free: 3.895 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.2, allocations: 0 / 0.7478 GB, free: 3.895 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/1.2, allocations: 0 / 0.7478 GB, free: 3.895 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.2, allocations: 0 / 0.7478 GB, free: 3.895 MB / 0.5183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.2, allocations: 0 / 0.7478 GB, free: 3.895 MB / 0.5183 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000168/1.2, allocations: 76.97 kB / 0.7479 GB, free: 3.801 MB / 0.5183 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002913/1.2, allocations: 473.5 kB / 0.7483 GB, free: 3.316 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/1.2, allocations: 77.11 kB / 0.7484 GB, free: 3.223 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/1.2, allocations: 3.938 kB / 0.7484 GB, free: 3.219 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/1.2, allocations: 0 / 0.7484 GB, free: 3.219 MB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/1.2, allocations: 8.188 kB / 0.7484 GB, free: 3.211 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/1.2, allocations: 0 / 0.7484 GB, free: 3.211 MB / 0.5183 GB Notification: Performance of sort global known variables: time 3.598e-05/1.2, allocations: 79.36 kB / 0.7485 GB, free: 3.133 MB / 0.5183 GB Notification: Performance of remove unused functions: time 0.0007754/1.201, allocations: 40.09 kB / 0.7485 GB, free: 3.094 MB / 0.5183 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.0002295/1.201, allocations: 131.2 kB / 0.7487 GB, free: 2.957 MB / 0.5183 GB Notification: Performance of simCode: created initialization part: time 8.485e-05/1.202, allocations: 23.88 kB / 0.7487 GB, free: 2.934 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/1.202, allocations: 0 / 0.7487 GB, free: 2.934 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/1.202, allocations: 7.984 kB / 0.7487 GB, free: 2.926 MB / 0.5183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/1.202, allocations: 0 / 0.7487 GB, free: 2.926 MB / 0.5183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/1.202, allocations: 72.25 kB / 0.7488 GB, free: 2.832 MB / 0.5183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/1.202, allocations: 0.7072 MB / 0.7494 GB, free: 2.102 MB / 0.5183 GB Notification: Performance of SimCode: time 2.7e-07/1.202, allocations: 0 / 0.7494 GB, free: 2.102 MB / 0.5183 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)