Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",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.003683/0.003684, allocations: 180.1 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.7405/0.7405, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.561/1.561, allocations: 221.3 MB / 395 MB, free: 10.17 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.001047/0.001047, allocations: 95.53 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4598/0.4609, allocations: 88.42 MB / 0.5529 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.6424, allocations: 82.32 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5496/1.192, allocations: 111.1 MB / 0.7418 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.192, allocations: 67.52 kB / 0.7419 GB, free: 10.78 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.01314/1.205, allocations: 4.37 MB / 0.7462 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.206, allocations: 7.812 kB / 0.7462 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.965e-05/1.206, allocations: 7.719 kB / 0.7462 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/1.206, allocations: 164.2 kB / 0.7463 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/1.206, allocations: 0 / 0.7463 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/1.206, allocations: 7.875 kB / 0.7463 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.531e-05/1.206, allocations: 7.828 kB / 0.7464 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.325e-05/1.206, allocations: 42.59 kB / 0.7464 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.206, allocations: 0.6562 kB / 0.7464 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/1.206, allocations: 0 / 0.7464 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/1.206, allocations: 0 / 0.7464 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/1.207, allocations: 260.2 kB / 0.7466 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.456e-05/1.207, allocations: 21.81 kB / 0.7467 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/1.207, allocations: 12.17 kB / 0.7467 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/1.207, allocations: 466.4 kB / 0.7471 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/1.207, allocations: 31.08 kB / 0.7472 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/1.207, allocations: 0 / 0.7472 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002132/1.208, allocations: 45.19 kB / 0.7472 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/1.208, allocations: 59.89 kB / 0.7473 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/1.208, allocations: 92.86 kB / 0.7473 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/1.208, allocations: 25.7 kB / 0.7474 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/1.208, allocations: 84.69 kB / 0.7474 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/1.208, allocations: 12.56 kB / 0.7475 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/1.208, allocations: 0 / 0.7475 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.208, allocations: 312.1 kB / 0.7478 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/1.208, allocations: 3.875 kB / 0.7478 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.705e-05/1.208, allocations: 8.25 kB / 0.7478 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/1.208, allocations: 0.8906 kB / 0.7478 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.208, allocations: 3.844 kB / 0.7478 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.639e-05/1.208, allocations: 42.61 kB / 0.7478 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.208, allocations: 7.688 kB / 0.7478 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.208, allocations: 0 / 0.7478 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.208, allocations: 3.906 kB / 0.7478 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/1.209, allocations: 15.47 kB / 0.7478 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/1.209, allocations: 0.6094 kB / 0.7478 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/1.209, allocations: 17.02 kB / 0.7479 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/1.209, allocations: 0 / 0.7479 GB, free: 24.47 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 (2): * Single equations (assignments): 2 * 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.7e-05/1.209, allocations: 109.4 kB / 0.748 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/1.209, allocations: 3.906 kB / 0.748 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/1.209, allocations: 48 kB / 0.748 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.209, allocations: 256 / 0.748 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.209, allocations: 4.547 kB / 0.748 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/1.209, allocations: 4 kB / 0.748 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/1.209, allocations: 146.5 kB / 0.7482 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.209, allocations: 0.7031 kB / 0.7482 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/1.209, allocations: 10.58 kB / 0.7482 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.209, allocations: 3.906 kB / 0.7482 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/1.209, allocations: 0 / 0.7482 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.209, allocations: 0.7031 kB / 0.7482 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.209, allocations: 3.875 kB / 0.7482 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001524/1.209, allocations: 145.3 kB / 0.7483 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003043/1.21, allocations: 0.5011 MB / 0.7488 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/1.21, allocations: 90.09 kB / 0.7489 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/1.21, allocations: 0 / 0.7489 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/1.21, allocations: 14.47 kB / 0.7489 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/1.21, allocations: 5.078 kB / 0.7489 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/1.21, allocations: 0 / 0.7489 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.737e-05/1.21, allocations: 79.95 kB / 0.749 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008786/1.211, allocations: 17.11 kB / 0.749 GB, free: 23.32 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 (2): * Single equations (assignments): 2 * 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.0002708/1.211, allocations: 115.1 kB / 0.7491 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001072/1.211, allocations: 23.16 kB / 0.7491 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.211, allocations: 0 / 0.7491 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/1.211, allocations: 4.375 kB / 0.7491 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/1.212, allocations: 15.02 kB / 0.7492 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/1.212, allocations: 55.28 kB / 0.7492 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/1.212, allocations: 0.6932 MB / 0.7499 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.212, allocations: 3.938 kB / 0.7499 GB, free: 22.44 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)