Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7494/0.7494, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 185.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 399.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009129/0.0009129, allocations: 90.67 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2845/0.2854, allocations: 82.9 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.4432, allocations: 76.74 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4323/0.8755, allocations: 102 MB / 0.7207 GB, free: 10.26 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.8758, allocations: 75.95 kB / 0.7207 GB, free: 10.18 MB / 490.7 MB 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.0166/0.8925, allocations: 5.43 MB / 0.726 GB, free: 4.723 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.8925, allocations: 8 kB / 0.726 GB, free: 4.715 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.8926, allocations: 15.84 kB / 0.7261 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.8927, allocations: 163.1 kB / 0.7262 GB, free: 4.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.8928, allocations: 3.938 kB / 0.7262 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.8928, allocations: 4 kB / 0.7262 GB, free: 4.492 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.501e-05/0.8929, allocations: 19.94 kB / 0.7262 GB, free: 4.473 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.902e-05/0.893, allocations: 41.69 kB / 0.7263 GB, free: 4.426 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.893, allocations: 3.906 kB / 0.7263 GB, free: 4.422 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.893, allocations: 4 kB / 0.7263 GB, free: 4.418 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.893, allocations: 0 / 0.7263 GB, free: 4.418 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.8932, allocations: 146.2 kB / 0.7264 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.758e-05/0.8933, allocations: 41.7 kB / 0.7265 GB, free: 4.191 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.8933, allocations: 21.88 kB / 0.7265 GB, free: 4.168 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006881/0.894, allocations: 465.5 kB / 0.7269 GB, free: 3.621 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.8941, allocations: 34.47 kB / 0.727 GB, free: 3.578 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.8941, allocations: 7.938 kB / 0.727 GB, free: 3.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001187/0.8953, allocations: 0.5021 MB / 0.7275 GB, free: 2.977 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.8953, allocations: 59.34 kB / 0.7275 GB, free: 2.906 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.8954, allocations: 92.98 kB / 0.7276 GB, free: 2.809 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.8954, allocations: 25.7 kB / 0.7276 GB, free: 2.777 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.8955, allocations: 88.14 kB / 0.7277 GB, free: 2.688 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.8955, allocations: 35.45 kB / 0.7277 GB, free: 2.652 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.8955, allocations: 0 / 0.7277 GB, free: 2.652 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8957, allocations: 318.8 kB / 0.728 GB, free: 2.332 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.8957, allocations: 16 kB / 0.7281 GB, free: 2.316 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.247e-05/0.8958, allocations: 16 kB / 0.7281 GB, free: 2.301 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.24e-05/0.8959, allocations: 29.61 kB / 0.7281 GB, free: 2.273 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.8959, allocations: 0 / 0.7281 GB, free: 2.273 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001798/0.896, allocations: 89.53 kB / 0.7282 GB, free: 2.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.8961, allocations: 4 kB / 0.7282 GB, free: 2.176 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.8961, allocations: 4 kB / 0.7282 GB, free: 2.172 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8961, allocations: 4 kB / 0.7282 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.8962, allocations: 19.98 kB / 0.7282 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.8962, allocations: 240 / 0.7282 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.8963, allocations: 0 / 0.7282 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.8963, allocations: 7.984 kB / 0.7282 GB, free: 2.141 MB / 490.7 MB 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 7.278e-05/0.8964, allocations: 104.9 kB / 0.7283 GB, free: 2.031 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.8964, allocations: 11.89 kB / 0.7283 GB, free: 2.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.8966, allocations: 105.7 kB / 0.7284 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.8966, allocations: 0 / 0.7284 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8966, allocations: 0 / 0.7284 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.8967, allocations: 0 / 0.7284 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.8971, allocations: 327.8 kB / 0.7288 GB, free: 1.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8971, allocations: 0 / 0.7288 GB, free: 1.551 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.8972, allocations: 19.98 kB / 0.7288 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.8972, allocations: 0 / 0.7288 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.8972, allocations: 8 kB / 0.7288 GB, free: 1.523 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8972, allocations: 0 / 0.7288 GB, free: 1.523 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8973, allocations: 7.906 kB / 0.7288 GB, free: 1.516 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002736/0.8975, allocations: 211.6 kB / 0.729 GB, free: 1.293 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004026/0.8979, allocations: 0.6053 MB / 0.7296 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.898, allocations: 93 kB / 0.7297 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.898, allocations: 4.125 kB / 0.7297 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.8981, allocations: 0 / 0.7297 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.8982, allocations: 7.984 kB / 0.7297 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.8982, allocations: 4 kB / 0.7297 GB, free: 0.543 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.297e-05/0.8982, allocations: 75.47 kB / 0.7298 GB, free: 480 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008731/0.8991, allocations: 63.86 kB / 0.7298 GB, free: 416 kB / 490.7 MB 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.0002952/0.8994, allocations: 155.2 kB / 0.73 GB, free: 248 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.8995, allocations: 52 kB / 0.73 GB, free: 196 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.8995, allocations: 4 kB / 0.73 GB, free: 192 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.164e-05/0.8996, allocations: 35.92 kB / 0.7301 GB, free: 156 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.8997, allocations: 10.69 kB / 0.7301 GB, free: 148 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.9001, allocations: 118.9 kB / 0.7302 GB, free: 8 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.9004, allocations: 0.7114 MB / 0.7309 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of SimCode: time 2.8e-07/0.9005, allocations: 0 / 0.7309 GB, free: 15.27 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)