Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7431/0.7431, allocations: 141.8 MB / 149.1 MB, free: 1.211 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 185.2 kB / 181.9 MB, free: 0.5508 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.4 MB / 436 MB, free: 5.203 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008947/0.0008947, allocations: 92.56 kB / 0.507 GB, free: 1.871 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001731/0.001731, allocations: 289.6 kB / 0.5884 GB, free: 46.96 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3209/0.3226, allocations: 89.64 MB / 0.676 GB, free: 59.49 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.4566, allocations: 82.78 MB / 0.7568 GB, free: 304 kB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.5931, allocations: 107.8 MB / 0.8622 GB, free: 4.281 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.5933, allocations: 77.97 kB / 0.8622 GB, free: 4.207 MB / 0.5419 GB 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.1952/0.7885, allocations: 4.531 MB / 0.8666 GB, free: 169.2 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.7885, allocations: 11.66 kB / 0.8667 GB, free: 169.2 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.7886, allocations: 3.75 kB / 0.8667 GB, free: 169.2 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.277e-05/0.7887, allocations: 169.7 kB / 0.8668 GB, free: 169 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.7887, allocations: 0 / 0.8668 GB, free: 169 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.7887, allocations: 10.47 kB / 0.8668 GB, free: 169 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.852e-05/0.7888, allocations: 0 / 0.8668 GB, free: 169 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.294e-05/0.7888, allocations: 32.52 kB / 0.8669 GB, free: 169 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.7888, allocations: 5.438 kB / 0.8669 GB, free: 169 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.7889, allocations: 3.906 kB / 0.8669 GB, free: 169 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.7889, allocations: 1.094 kB / 0.8669 GB, free: 169 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.789, allocations: 135.8 kB / 0.867 GB, free: 168.8 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.235e-05/0.789, allocations: 23.67 kB / 0.867 GB, free: 168.8 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.789, allocations: 7.859 kB / 0.867 GB, free: 168.8 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005287/0.7896, allocations: 464.4 kB / 0.8675 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.7896, allocations: 30.56 kB / 0.8675 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.7896, allocations: 0 / 0.8675 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0004788/0.7901, allocations: 250 kB / 0.8677 GB, free: 168 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.508e-05/0.7901, allocations: 55.34 kB / 0.8678 GB, free: 168 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.293e-05/0.7902, allocations: 85 kB / 0.8679 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.7902, allocations: 25.7 kB / 0.8679 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 1.037e-05/0.7902, allocations: 80.14 kB / 0.868 GB, free: 167.8 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.7902, allocations: 14.34 kB / 0.868 GB, free: 167.8 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.7902, allocations: 0 / 0.868 GB, free: 167.8 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 3.584e-05/0.7903, allocations: 318.6 kB / 0.8683 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.7903, allocations: 7.594 kB / 0.8683 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.7903, allocations: 13.25 kB / 0.8683 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.7904, allocations: 7.297 kB / 0.8683 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.7904, allocations: 4.75 kB / 0.8683 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001017/0.7905, allocations: 53.86 kB / 0.8684 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.7905, allocations: 5.156 kB / 0.8684 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.7905, allocations: 0 / 0.8684 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.7905, allocations: 0 / 0.8684 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-05/0.7906, allocations: 11.52 kB / 0.8684 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.7906, allocations: 0.5312 kB / 0.8684 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.7906, allocations: 0.9688 kB / 0.8684 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.7906, allocations: 10.56 kB / 0.8684 GB, free: 167.4 MB / 0.5419 GB 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 3.672e-05/0.7907, allocations: 108.7 kB / 0.8685 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.7907, allocations: 0.5312 kB / 0.8685 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.7908, allocations: 61.52 kB / 0.8686 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.7908, allocations: 0 / 0.8686 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.7908, allocations: 0 / 0.8686 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7909, allocations: 0 / 0.8686 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.869e-05/0.7909, allocations: 137.8 kB / 0.8687 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7909, allocations: 0 / 0.8687 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.791, allocations: 7.609 kB / 0.8687 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.791, allocations: 0 / 0.8687 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.791, allocations: 4.625 kB / 0.8687 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.791, allocations: 0 / 0.8687 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.791, allocations: 0.5 kB / 0.8687 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001295/0.7911, allocations: 78.64 kB / 0.8688 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001538/0.7913, allocations: 472 kB / 0.8692 GB, free: 166.6 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.7913, allocations: 77.11 kB / 0.8693 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.7913, allocations: 4.406 kB / 0.8693 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.04e-05/0.7914, allocations: 0.6562 kB / 0.8693 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.7914, allocations: 3.609 kB / 0.8693 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.7914, allocations: 0.625 kB / 0.8693 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.35e-05/0.7914, allocations: 81.16 kB / 0.8694 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007763/0.7922, allocations: 40.08 kB / 0.8694 GB, free: 166.4 MB / 0.5419 GB 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.0001828/0.7924, allocations: 131.1 kB / 0.8696 GB, free: 166.3 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 6.688e-05/0.7925, allocations: 22.03 kB / 0.8696 GB, free: 166.3 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7925, allocations: 0.9688 kB / 0.8696 GB, free: 166.3 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.7925, allocations: 12.84 kB / 0.8696 GB, free: 166.3 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.516e-05/0.7926, allocations: 1.031 kB / 0.8696 GB, free: 166.3 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.7928, allocations: 70.69 kB / 0.8697 GB, free: 166.3 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.7929, allocations: 0.6923 MB / 0.8703 GB, free: 165.6 MB / 0.5419 GB Notification: Performance of SimCode: time 2.61e-07/0.7929, allocations: 0 / 0.8703 GB, free: 165.6 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)