Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",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/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 188.9 kB / 7.803 MB, free: 2.477 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4657/0.4657, allocations: 90.86 MB / 99.08 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.775/1.775, allocations: 221.4 MB / 342.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009429, allocations: 94.67 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1864/0.1873, allocations: 78.46 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.6165, allocations: 72.31 MB / 0.553 GB, free: 73.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.7372, allocations: 99.97 MB / 0.6506 GB, free: 10.02 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.7375, allocations: 80.62 kB / 0.6507 GB, free: 9.941 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001352/0.7389, allocations: 473.9 kB / 0.6512 GB, free: 9.441 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.7389, allocations: 8.5 kB / 0.6512 GB, free: 9.434 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.739, allocations: 7.906 kB / 0.6512 GB, free: 9.426 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/0.7391, allocations: 165.8 kB / 0.6513 GB, free: 9.227 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.7391, allocations: 0 / 0.6513 GB, free: 9.227 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.7391, allocations: 4.562 kB / 0.6513 GB, free: 9.223 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.92e-05/0.7392, allocations: 0 / 0.6513 GB, free: 9.223 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.549e-05/0.7392, allocations: 30.67 kB / 0.6514 GB, free: 9.188 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.7392, allocations: 0 / 0.6514 GB, free: 9.188 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.7393, allocations: 0.6875 kB / 0.6514 GB, free: 9.188 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7393, allocations: 1.688 kB / 0.6514 GB, free: 9.188 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.7394, allocations: 135.5 kB / 0.6515 GB, free: 9.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.25e-05/0.7395, allocations: 26.5 kB / 0.6515 GB, free: 8.988 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.7395, allocations: 5.391 kB / 0.6515 GB, free: 8.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.7395, allocations: 2.438 kB / 0.6515 GB, free: 8.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.7396, allocations: 34.62 kB / 0.6516 GB, free: 8.938 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.7396, allocations: 0 / 0.6516 GB, free: 8.938 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001877/0.7398, allocations: 29.7 kB / 0.6516 GB, free: 8.902 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.7398, allocations: 52.22 kB / 0.6516 GB, free: 8.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.444e-05/0.7398, allocations: 85 kB / 0.6517 GB, free: 8.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.7399, allocations: 26.86 kB / 0.6518 GB, free: 8.719 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.7399, allocations: 88.12 kB / 0.6518 GB, free: 8.629 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.7399, allocations: 5.406 kB / 0.6518 GB, free: 8.625 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.7399, allocations: 0.5938 kB / 0.6518 GB, free: 8.625 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.74, allocations: 315.4 kB / 0.6521 GB, free: 8.309 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.7401, allocations: 5.031 kB / 0.6521 GB, free: 8.305 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.7401, allocations: 0 / 0.6521 GB, free: 8.305 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.7401, allocations: 4.781 kB / 0.6522 GB, free: 8.301 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7401, allocations: 0 / 0.6522 GB, free: 8.301 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.085e-05/0.7402, allocations: 31.55 kB / 0.6522 GB, free: 8.266 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.7402, allocations: 7.984 kB / 0.6522 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7402, allocations: 0 / 0.6522 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.7402, allocations: 0 / 0.6522 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.113e-05/0.7403, allocations: 4 kB / 0.6522 GB, free: 8.254 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.7403, allocations: 0.8438 kB / 0.6522 GB, free: 8.254 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.7403, allocations: 3.797 kB / 0.6522 GB, free: 8.254 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.7404, allocations: 8.688 kB / 0.6522 GB, free: 8.246 MB / 474.7 MB 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 (1): * Single equations (assignments): 1 * 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.326e-05/0.7404, allocations: 101.8 kB / 0.6523 GB, free: 8.141 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-06/0.7404, allocations: 2.531 kB / 0.6523 GB, free: 8.141 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.7406, allocations: 54.12 kB / 0.6524 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7406, allocations: 0 / 0.6524 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7406, allocations: 3.938 kB / 0.6524 GB, free: 8.082 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.7406, allocations: 4.766 kB / 0.6524 GB, free: 8.078 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.772e-05/0.7407, allocations: 126.2 kB / 0.6525 GB, free: 7.918 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.7407, allocations: 0.8125 kB / 0.6525 GB, free: 7.918 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.7407, allocations: 7.984 kB / 0.6525 GB, free: 7.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.7407, allocations: 0.9375 kB / 0.6525 GB, free: 7.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.7408, allocations: 0 / 0.6525 GB, free: 7.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7408, allocations: 1.375 kB / 0.6525 GB, free: 7.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.7408, allocations: 0 / 0.6525 GB, free: 7.91 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.983e-05/0.7409, allocations: 61.67 kB / 0.6526 GB, free: 7.832 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000211/0.7411, allocations: 440.4 kB / 0.653 GB, free: 7.383 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.7411, allocations: 81.11 kB / 0.6531 GB, free: 7.285 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.7412, allocations: 1.25 kB / 0.6531 GB, free: 7.285 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.5e-05/0.7412, allocations: 8.859 kB / 0.6531 GB, free: 7.277 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.7412, allocations: 0 / 0.6531 GB, free: 7.277 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.7412, allocations: 4.719 kB / 0.6531 GB, free: 7.273 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.7e-05/0.7412, allocations: 75.28 kB / 0.6531 GB, free: 7.199 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000761/0.742, allocations: 4.531 kB / 0.6531 GB, free: 7.195 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001784/0.7422, allocations: 100 kB / 0.6532 GB, free: 7.086 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.599e-05/0.7423, allocations: 5.281 kB / 0.6532 GB, free: 7.082 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7423, allocations: 0 / 0.6532 GB, free: 7.082 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.657e-06/0.7423, allocations: 8.875 kB / 0.6533 GB, free: 7.074 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.741e-05/0.7424, allocations: 3 kB / 0.6533 GB, free: 7.074 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/0.7426, allocations: 48.83 kB / 0.6533 GB, free: 7.004 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.7429, allocations: 0.6854 MB / 0.654 GB, free: 6.293 MB / 474.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7429, allocations: 0.5938 kB / 0.654 GB, free: 6.293 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)