Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",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.373/1.373, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009917/0.0009917, allocations: 185.3 kB / 361.1 MB, free: 7.059 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.086/1.086, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0009198/0.0009196, allocations: 90.03 kB / 0.7325 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1854/0.1863, allocations: 121.4 MB / 0.8511 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.626, allocations: 115.3 MB / 0.9637 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.7672, allocations: 136.6 MB / 1.097 GB, free: 3.391 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/0.7674, allocations: 68.52 kB / 1.097 GB, free: 3.324 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.004368/0.7718, allocations: 1.394 MB / 1.099 GB, free: 1.926 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.7719, allocations: 8 kB / 1.099 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.7719, allocations: 8.656 kB / 1.099 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.772, allocations: 159.1 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.772, allocations: 1.062 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.7721, allocations: 9.375 kB / 1.099 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.658e-05/0.7721, allocations: 13.17 kB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.707e-05/0.7722, allocations: 42.39 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.7722, allocations: 0.5625 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.7722, allocations: 0.5938 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.7722, allocations: 1.969 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.7724, allocations: 135.1 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.807e-05/0.7724, allocations: 27.2 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.7725, allocations: 13.97 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.7725, allocations: 8.406 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.7725, allocations: 31.56 kB / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.7725, allocations: 7.75 kB / 1.099 GB, free: 1.379 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0006033/0.7732, allocations: 298.8 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.7732, allocations: 51.41 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.214e-05/0.7733, allocations: 104.9 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.7733, allocations: 25.7 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.7733, allocations: 80.14 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.7734, allocations: 17.06 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.7734, allocations: 0 / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7735, allocations: 318.8 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.7735, allocations: 16.52 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.7736, allocations: 25.33 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.661e-05/0.7737, allocations: 21.83 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.7737, allocations: 0 / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001536/0.7738, allocations: 77.52 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.7738, allocations: 4.594 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.7739, allocations: 2.281 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.7739, allocations: 4.609 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.574e-05/0.7739, allocations: 6.344 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.774, allocations: 0 / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.774, allocations: 9.109 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.774, allocations: 0 / 1.1 GB, free: 256 kB / 0.698 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 6.823e-05/0.7741, allocations: 105.5 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.7741, allocations: 4.438 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.7743, allocations: 92.73 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.7743, allocations: 4 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.7743, allocations: 0 / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7743, allocations: 1.188 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.5e-05/0.7744, allocations: 142.2 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.7744, allocations: 3.906 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.7745, allocations: 4 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.7745, allocations: 4 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.7745, allocations: 0 / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7745, allocations: 0 / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7745, allocations: 2.25 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001888/0.7747, allocations: 126.9 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002822/0.775, allocations: 0.5021 MB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.7751, allocations: 77.11 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.7751, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.456e-05/0.7751, allocations: 12.06 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.7752, allocations: 8.734 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.7752, allocations: 8 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.544e-05/0.7752, allocations: 79.28 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007491/0.776, allocations: 27.98 kB / 1.101 GB, free: 14.96 MB / 0.7136 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.0001766/0.7761, allocations: 130.6 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.459e-05/0.7762, allocations: 31.92 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7762, allocations: 128 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-05/0.7763, allocations: 16 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.38e-05/0.7764, allocations: 4.75 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.7766, allocations: 92.86 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.7769, allocations: 0.6954 MB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7769, allocations: 0 / 1.102 GB, free: 13.94 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)