Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.42/1.42, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009566/0.0009567, allocations: 177.3 kB / 361.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009571/0.0009572, allocations: 87.44 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2212/0.2222, allocations: 121.5 MB / 0.8512 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.7551, allocations: 115.3 MB / 0.9638 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.9112, allocations: 137.3 MB / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.9115, allocations: 76.52 kB / 1.098 GB, free: 2.586 MB / 0.698 GB 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.01522/0.9268, allocations: 5.056 MB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.9268, allocations: 10.25 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.097e-05/0.9269, allocations: 7.906 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.9271, allocations: 163 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.9271, allocations: 4 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.9271, allocations: 4.5 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.944e-05/0.9272, allocations: 19.98 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.242e-05/0.9273, allocations: 42.31 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.9273, allocations: 5.406 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.9273, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.9273, allocations: 2.062 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.9275, allocations: 142.9 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.646e-05/0.9276, allocations: 38.25 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.9277, allocations: 25.53 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006645/0.9283, allocations: 462.7 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.9284, allocations: 31.78 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.9284, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001073/0.9295, allocations: 0.5262 MB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.9295, allocations: 61.19 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.9296, allocations: 93.69 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.9296, allocations: 26.27 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.9296, allocations: 84.14 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.9297, allocations: 35.45 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.9297, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9298, allocations: 318.8 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/0.9298, allocations: 16 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.103e-05/0.9299, allocations: 16 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.092e-05/0.93, allocations: 23.98 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.93, allocations: 0 / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001776/0.9302, allocations: 89.22 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.9302, allocations: 7.75 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9302, allocations: 8 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.9302, allocations: 0 / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.9303, allocations: 23.92 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.9303, allocations: 0 / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.9304, allocations: 0 / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.9304, allocations: 4 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB 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.412e-05/0.9305, allocations: 111.7 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.9305, allocations: 0 / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.9307, allocations: 113.5 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.9308, allocations: 0 / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9308, allocations: 0 / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9308, allocations: 1.562 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.9312, allocations: 311.2 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.9312, allocations: 7.922 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.9313, allocations: 23.91 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.9313, allocations: 4 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.9313, allocations: 0 / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9314, allocations: 3.938 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9314, allocations: 7.984 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002755/0.9316, allocations: 206.8 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003804/0.932, allocations: 0.5975 MB / 1.106 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.9321, allocations: 93 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.9321, allocations: 1.25 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.9322, allocations: 7.984 kB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.9323, allocations: 7.938 kB / 1.107 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.9323, allocations: 7.094 kB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.549e-05/0.9323, allocations: 79.27 kB / 1.107 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008739/0.9332, allocations: 55.84 kB / 1.107 GB, free: 9.297 MB / 0.7136 GB 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.000288/0.9335, allocations: 158.9 kB / 1.107 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.9336, allocations: 60.08 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9336, allocations: 4 kB / 1.107 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.9337, allocations: 28 kB / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.9338, allocations: 4.75 kB / 1.107 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.9342, allocations: 125.2 kB / 1.107 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.9345, allocations: 0.7036 MB / 1.108 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.9345, allocations: 0 / 1.108 GB, free: 8.164 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)