Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.00111/0.001111, allocations: 189.6 kB / 7.804 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4706/0.4706, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.4 MB / 342.7 MB, free: 5.461 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 98.91 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1728/0.1739, allocations: 78.44 MB / 494 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.5708, allocations: 72.32 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.6876, allocations: 100.7 MB / 0.6514 GB, free: 9.324 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.6879, allocations: 68.52 kB / 0.6514 GB, free: 9.258 MB / 474.7 MB 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.01419/0.7021, allocations: 4.557 MB / 0.6559 GB, free: 4.691 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.7022, allocations: 15.88 kB / 0.6559 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.7022, allocations: 3.906 kB / 0.6559 GB, free: 4.676 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.7024, allocations: 159.1 kB / 0.6561 GB, free: 4.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.7024, allocations: 0 / 0.6561 GB, free: 4.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.7024, allocations: 4.688 kB / 0.6561 GB, free: 4.477 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.341e-05/0.7025, allocations: 1.812 kB / 0.6561 GB, free: 4.477 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.352e-05/0.7026, allocations: 42.34 kB / 0.6561 GB, free: 4.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.7026, allocations: 0.625 kB / 0.6561 GB, free: 4.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.7026, allocations: 3.938 kB / 0.6561 GB, free: 4.426 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.7026, allocations: 0.7812 kB / 0.6561 GB, free: 4.426 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.7027, allocations: 127.2 kB / 0.6562 GB, free: 4.266 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.76e-05/0.7028, allocations: 27.7 kB / 0.6563 GB, free: 4.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.7028, allocations: 12.91 kB / 0.6563 GB, free: 4.215 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/0.7035, allocations: 462.7 kB / 0.6567 GB, free: 3.676 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.7036, allocations: 31.25 kB / 0.6568 GB, free: 3.637 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7036, allocations: 2.312 kB / 0.6568 GB, free: 3.637 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006515/0.7042, allocations: 238.3 kB / 0.657 GB, free: 3.352 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.7043, allocations: 56.03 kB / 0.657 GB, free: 3.285 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.7044, allocations: 89.5 kB / 0.6571 GB, free: 3.191 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.7044, allocations: 27.08 kB / 0.6571 GB, free: 3.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.7044, allocations: 80.14 kB / 0.6572 GB, free: 3.078 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.7044, allocations: 11.81 kB / 0.6572 GB, free: 3.066 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.7045, allocations: 3.406 kB / 0.6572 GB, free: 3.066 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.7046, allocations: 320 kB / 0.6575 GB, free: 2.746 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.7046, allocations: 4 kB / 0.6575 GB, free: 2.742 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.7047, allocations: 18.59 kB / 0.6576 GB, free: 2.719 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.858e-05/0.7047, allocations: 8.688 kB / 0.6576 GB, free: 2.711 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.7047, allocations: 0.5938 kB / 0.6576 GB, free: 2.711 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001236/0.7049, allocations: 54.28 kB / 0.6576 GB, free: 2.652 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.7049, allocations: 4.562 kB / 0.6576 GB, free: 2.648 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.7049, allocations: 3.906 kB / 0.6576 GB, free: 2.645 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.7049, allocations: 4.5 kB / 0.6576 GB, free: 2.641 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.705, allocations: 4.844 kB / 0.6576 GB, free: 2.637 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.705, allocations: 0 / 0.6576 GB, free: 2.637 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.705, allocations: 0.5 kB / 0.6576 GB, free: 2.637 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.705, allocations: 4 kB / 0.6576 GB, free: 2.633 MB / 474.7 MB 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 7.997e-05/0.7051, allocations: 102.8 kB / 0.6577 GB, free: 2.527 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.7052, allocations: 11.89 kB / 0.6578 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.7053, allocations: 56.84 kB / 0.6578 GB, free: 2.453 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.7054, allocations: 1 kB / 0.6578 GB, free: 2.453 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7054, allocations: 0 / 0.6578 GB, free: 2.453 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7054, allocations: 0 / 0.6578 GB, free: 2.453 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.7055, allocations: 130.5 kB / 0.6579 GB, free: 2.289 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7055, allocations: 4 kB / 0.6579 GB, free: 2.285 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.7056, allocations: 9.312 kB / 0.6579 GB, free: 2.277 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.7056, allocations: 0 / 0.6579 GB, free: 2.277 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.7056, allocations: 4 kB / 0.658 GB, free: 2.273 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.7056, allocations: 3.906 kB / 0.658 GB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.7056, allocations: 0 / 0.658 GB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001693/0.7058, allocations: 81.09 kB / 0.658 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002868/0.7061, allocations: 461.5 kB / 0.6585 GB, free: 1.699 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.7061, allocations: 85.11 kB / 0.6586 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.7061, allocations: 3.906 kB / 0.6586 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.343e-05/0.7062, allocations: 1.625 kB / 0.6586 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.7062, allocations: 4.078 kB / 0.6586 GB, free: 1.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.7062, allocations: 4 kB / 0.6586 GB, free: 1.586 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.363e-05/0.7063, allocations: 79.34 kB / 0.6586 GB, free: 1.508 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008424/0.7071, allocations: 31.94 kB / 0.6587 GB, free: 1.477 MB / 474.7 MB 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.0002548/0.7074, allocations: 139.2 kB / 0.6588 GB, free: 1.328 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.466e-05/0.7075, allocations: 17.16 kB / 0.6588 GB, free: 1.312 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7075, allocations: 0 / 0.6588 GB, free: 1.312 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.7075, allocations: 11.98 kB / 0.6588 GB, free: 1.301 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.7076, allocations: 1.406 kB / 0.6588 GB, free: 1.301 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.7079, allocations: 72.48 kB / 0.6589 GB, free: 1.207 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.7082, allocations: 0.6954 MB / 0.6596 GB, free: 500 kB / 474.7 MB Notification: Performance of SimCode: time 3e-07/0.7082, allocations: 0 / 0.6596 GB, free: 500 kB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)