Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 191.7 kB / 7.808 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4916/0.4916, allocations: 90.86 MB / 99.08 MB, free: 14.96 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.329/1.329, allocations: 221.4 MB / 342.7 MB, free: 5.211 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.001054/0.001055, allocations: 92.81 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2014/0.2025, allocations: 78.47 MB / 494 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.5992, allocations: 72.3 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.7148, allocations: 100.9 MB / 0.6515 GB, free: 9.129 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.7151, allocations: 75.95 kB / 0.6516 GB, free: 9.055 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0161/0.7312, allocations: 5.106 MB / 0.6566 GB, free: 3.941 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.7313, allocations: 8.719 kB / 0.6566 GB, free: 3.934 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.7313, allocations: 4 kB / 0.6566 GB, free: 3.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.7315, allocations: 171.5 kB / 0.6567 GB, free: 3.723 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.7315, allocations: 9.5 kB / 0.6568 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.7315, allocations: 4.438 kB / 0.6568 GB, free: 3.711 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.477e-05/0.7316, allocations: 16.59 kB / 0.6568 GB, free: 3.695 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.913e-05/0.7317, allocations: 50.47 kB / 0.6568 GB, free: 3.645 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.7318, allocations: 7 kB / 0.6568 GB, free: 3.641 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.7318, allocations: 0 / 0.6568 GB, free: 3.641 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7318, allocations: 0 / 0.6568 GB, free: 3.641 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.732, allocations: 142.9 kB / 0.657 GB, free: 3.465 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.26e-05/0.732, allocations: 34.73 kB / 0.657 GB, free: 3.426 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.7321, allocations: 25.42 kB / 0.657 GB, free: 3.398 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00068/0.7328, allocations: 463.2 kB / 0.6575 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.7328, allocations: 35.09 kB / 0.6575 GB, free: 2.816 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.7328, allocations: 0 / 0.6575 GB, free: 2.816 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.001149/0.734, allocations: 0.5275 MB / 0.658 GB, free: 2.203 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.734, allocations: 55.34 kB / 0.6581 GB, free: 2.137 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.7342, allocations: 92.98 kB / 0.6582 GB, free: 2.039 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.7342, allocations: 25.7 kB / 0.6582 GB, free: 2.008 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.7342, allocations: 80.14 kB / 0.6583 GB, free: 1.926 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.7343, allocations: 35.45 kB / 0.6583 GB, free: 1.891 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.7343, allocations: 0 / 0.6583 GB, free: 1.891 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7344, allocations: 323.3 kB / 0.6586 GB, free: 1.566 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.7345, allocations: 17.16 kB / 0.6586 GB, free: 1.551 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.7345, allocations: 16 kB / 0.6586 GB, free: 1.535 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.737e-05/0.7346, allocations: 23.94 kB / 0.6587 GB, free: 1.512 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.7346, allocations: 1.25 kB / 0.6587 GB, free: 1.512 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001896/0.7348, allocations: 94.58 kB / 0.6587 GB, free: 1.414 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.7348, allocations: 8 kB / 0.6587 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.7348, allocations: 2.469 kB / 0.6588 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.7348, allocations: 1.375 kB / 0.6588 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.735, allocations: 19.98 kB / 0.6588 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.735, allocations: 7.906 kB / 0.6588 GB, free: 1.379 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.735, allocations: 0 / 0.6588 GB, free: 1.379 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.735, allocations: 3.656 kB / 0.6588 GB, free: 1.379 MB / 474.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 8.729e-05/0.7351, allocations: 109.5 kB / 0.6589 GB, free: 1.266 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.7352, allocations: 4.594 kB / 0.6589 GB, free: 1.262 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.7354, allocations: 98.36 kB / 0.659 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7354, allocations: 3.984 kB / 0.659 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7354, allocations: 0.625 kB / 0.659 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.7354, allocations: 0.8125 kB / 0.659 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.7359, allocations: 315.7 kB / 0.6593 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7359, allocations: 1.375 kB / 0.6593 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.736, allocations: 24.61 kB / 0.6593 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.7361, allocations: 0 / 0.6593 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.7361, allocations: 0.5 kB / 0.6593 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.7361, allocations: 0.6562 kB / 0.6593 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.7361, allocations: 0 / 0.6593 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003424/0.7364, allocations: 221.8 kB / 0.6595 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004174/0.7369, allocations: 0.6031 MB / 0.6601 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.7369, allocations: 85.09 kB / 0.6602 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.737, allocations: 1.812 kB / 0.6602 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.737, allocations: 4 kB / 0.6602 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.7371, allocations: 7.891 kB / 0.6602 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.7371, allocations: 12.12 kB / 0.6602 GB, free: 15.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.048e-05/0.7371, allocations: 80.88 kB / 0.6603 GB, free: 15.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008894/0.738, allocations: 47.92 kB / 0.6603 GB, free: 15.68 MB / 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.0003314/0.7384, allocations: 163 kB / 0.6605 GB, free: 15.51 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.7385, allocations: 51.98 kB / 0.6606 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7385, allocations: 0 / 0.6606 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/0.7386, allocations: 35.94 kB / 0.6606 GB, free: 15.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.7387, allocations: 0 / 0.6606 GB, free: 15.42 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.7391, allocations: 131 kB / 0.6607 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.7394, allocations: 0.7091 MB / 0.6614 GB, free: 14.54 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7394, allocations: 0 / 0.6614 GB, free: 14.54 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)