Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7159/0.7159, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001152/0.001153, allocations: 177.3 kB / 164.4 MB, free: 6.895 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.521/1.521, allocations: 205.1 MB / 399.1 MB, free: 6.168 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.0008568/0.0008568, allocations: 85.27 kB / 476.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2966/0.2975, allocations: 82.9 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.4536, allocations: 76.74 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4481/0.9018, allocations: 101.9 MB / 0.7205 GB, free: 10.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.9021, allocations: 75.95 kB / 0.7206 GB, free: 10.35 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01464/0.9167, allocations: 4.841 MB / 0.7253 GB, free: 5.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.9168, allocations: 12 kB / 0.7253 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.9168, allocations: 4 kB / 0.7253 GB, free: 5.465 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.917, allocations: 167 kB / 0.7255 GB, free: 5.262 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.917, allocations: 3.906 kB / 0.7255 GB, free: 5.258 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.917, allocations: 4 kB / 0.7255 GB, free: 5.254 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.525e-05/0.9171, allocations: 3.938 kB / 0.7255 GB, free: 5.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.784e-05/0.9172, allocations: 29.7 kB / 0.7255 GB, free: 5.215 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.9172, allocations: 3.984 kB / 0.7255 GB, free: 5.211 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.9172, allocations: 0 / 0.7255 GB, free: 5.211 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9172, allocations: 7.938 kB / 0.7255 GB, free: 5.203 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.9174, allocations: 134.2 kB / 0.7257 GB, free: 5.035 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.384e-05/0.9174, allocations: 18.61 kB / 0.7257 GB, free: 5.008 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.9175, allocations: 12.83 kB / 0.7257 GB, free: 4.992 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006219/0.9181, allocations: 457.5 kB / 0.7261 GB, free: 4.453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.9181, allocations: 46.5 kB / 0.7262 GB, free: 4.398 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.9181, allocations: 0 / 0.7262 GB, free: 4.398 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005913/0.9187, allocations: 230.5 kB / 0.7264 GB, free: 4.121 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.9188, allocations: 55.31 kB / 0.7265 GB, free: 4.055 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.949e-05/0.9188, allocations: 89 kB / 0.7265 GB, free: 3.961 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.9189, allocations: 25.95 kB / 0.7266 GB, free: 3.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.9189, allocations: 88.14 kB / 0.7266 GB, free: 3.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.9189, allocations: 11.83 kB / 0.7267 GB, free: 3.828 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.9189, allocations: 0 / 0.7267 GB, free: 3.828 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.919, allocations: 314.8 kB / 0.727 GB, free: 3.512 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.9191, allocations: 4 kB / 0.727 GB, free: 3.508 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.9191, allocations: 17.72 kB / 0.727 GB, free: 3.484 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.9192, allocations: 8 kB / 0.727 GB, free: 3.477 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.9192, allocations: 1.031 kB / 0.727 GB, free: 3.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001302/0.9193, allocations: 53.59 kB / 0.727 GB, free: 3.418 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.9194, allocations: 4 kB / 0.727 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.9194, allocations: 0 / 0.727 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.9194, allocations: 3.938 kB / 0.727 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.9195, allocations: 11.98 kB / 0.7271 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.9195, allocations: 0 / 0.7271 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.9195, allocations: 0 / 0.7271 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.9195, allocations: 4 kB / 0.7271 GB, free: 3.395 MB / 490.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 8.601e-05/0.9196, allocations: 105.5 kB / 0.7272 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.9196, allocations: 3.906 kB / 0.7272 GB, free: 3.281 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.9198, allocations: 53.31 kB / 0.7272 GB, free: 3.223 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.9198, allocations: 4 kB / 0.7272 GB, free: 3.219 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.9198, allocations: 0 / 0.7272 GB, free: 3.219 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.9199, allocations: 4 kB / 0.7272 GB, free: 3.215 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.92, allocations: 138.1 kB / 0.7274 GB, free: 3.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.92, allocations: 3.938 kB / 0.7274 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.345e-05/0.92, allocations: 7.984 kB / 0.7274 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9201, allocations: 3.938 kB / 0.7274 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.9201, allocations: 0 / 0.7274 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9201, allocations: 4 kB / 0.7274 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9201, allocations: 0 / 0.7274 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001549/0.9202, allocations: 81.73 kB / 0.7275 GB, free: 2.926 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002735/0.9205, allocations: 465.8 kB / 0.7279 GB, free: 2.449 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.9206, allocations: 81.02 kB / 0.728 GB, free: 2.352 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.9206, allocations: 4.078 kB / 0.728 GB, free: 2.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.086e-05/0.9207, allocations: 4 kB / 0.728 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.9207, allocations: 0 / 0.728 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.9207, allocations: 0 / 0.728 GB, free: 2.344 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.437e-05/0.9207, allocations: 83.34 kB / 0.7281 GB, free: 2.262 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008592/0.9216, allocations: 35.92 kB / 0.7281 GB, free: 2.227 MB / 490.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.0003167/0.9219, allocations: 135.2 kB / 0.7282 GB, free: 2.086 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.897e-05/0.922, allocations: 16 kB / 0.7282 GB, free: 2.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.922, allocations: 0 / 0.7282 GB, free: 2.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.461e-05/0.922, allocations: 7.938 kB / 0.7282 GB, free: 2.062 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.9222, allocations: 10.53 kB / 0.7283 GB, free: 2.055 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.9225, allocations: 76.5 kB / 0.7283 GB, free: 1.957 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.9229, allocations: 0.6876 MB / 0.729 GB, free: 1.246 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.9229, allocations: 0 / 0.729 GB, free: 1.246 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)