Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 249.4 MB / 256.7 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000951/0.000951, allocations: 184.9 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.079/1.079, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008393/0.0008393, allocations: 89.58 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2927/0.2936, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.436, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.843, allocations: 131.4 MB / 1.013 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.8433, allocations: 76.86 kB / 1.013 GB, free: 7.227 MB / 0.6355 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.004088/0.8473, allocations: 1.39 MB / 1.014 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.8474, allocations: 12 kB / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.8474, allocations: 0.875 kB / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.8475, allocations: 167 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.8476, allocations: 0 / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.8476, allocations: 3.938 kB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.723e-05/0.8476, allocations: 15.98 kB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.635e-05/0.8477, allocations: 37.69 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-06/0.8477, allocations: 0 / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.8477, allocations: 0 / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.8477, allocations: 7.844 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.8479, allocations: 138.6 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.635e-05/0.8479, allocations: 22.56 kB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.8479, allocations: 24.03 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.848, allocations: 4 kB / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.848, allocations: 34.5 kB / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.848, allocations: 0 / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0005475/0.8485, allocations: 294.1 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.8486, allocations: 51.41 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.692e-05/0.8486, allocations: 109.5 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.8487, allocations: 29.7 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.364e-05/0.8487, allocations: 83.39 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.8487, allocations: 11.83 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.8487, allocations: 0 / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.8488, allocations: 318.5 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.8488, allocations: 11.98 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.8489, allocations: 28.83 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.849, allocations: 22.55 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.849, allocations: 0 / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001267/0.8491, allocations: 73.02 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.8491, allocations: 8 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8491, allocations: 2.625 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.8491, allocations: 3.938 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.8492, allocations: 8 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.8492, allocations: 3.984 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.8492, allocations: 4.062 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.8492, allocations: 4 kB / 1.016 GB, free: 4.297 MB / 0.6355 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 5.221e-05/0.8493, allocations: 104.9 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.8493, allocations: 4 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.8495, allocations: 89.08 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.8495, allocations: 3.906 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.8495, allocations: 3.938 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.8495, allocations: 0 / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.62e-05/0.8496, allocations: 146 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.8496, allocations: 0 / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.8497, allocations: 4 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.8497, allocations: 0 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.8497, allocations: 0 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8497, allocations: 8 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8497, allocations: 0 / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001623/0.8499, allocations: 111.8 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002914/0.8502, allocations: 0.5107 MB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.8502, allocations: 88.95 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.8503, allocations: 4.031 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.71e-05/0.8503, allocations: 288 / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.8503, allocations: 0 / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.8503, allocations: 4 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.552e-05/0.8504, allocations: 86.41 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008282/0.8512, allocations: 28.05 kB / 1.017 GB, free: 3.035 MB / 0.6355 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.0001575/0.8514, allocations: 130.2 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.785e-05/0.8514, allocations: 27.97 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8515, allocations: 0 / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.536e-05/0.8515, allocations: 19.19 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.548e-05/0.8516, allocations: 7.906 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.8518, allocations: 91.67 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.852, allocations: 0.6994 MB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.852, allocations: 0 / 1.018 GB, free: 2.02 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)