Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.425/2.425, allocations: 284.8 MB / 292.1 MB, free: 10.71 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.001639/0.001639, allocations: 189.2 kB / 360.3 MB, free: 7.535 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.797/1.797, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001275/0.001274, allocations: 92.67 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2917/0.2931, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.643/0.9361, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/1.174, allocations: 136.3 MB / 1.096 GB, free: 4.594 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/1.174, allocations: 72.56 kB / 1.096 GB, free: 4.523 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001718/1.176, allocations: 494.8 kB / 1.096 GB, free: 4.016 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/1.176, allocations: 13.08 kB / 1.096 GB, free: 4.004 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/1.176, allocations: 0 / 1.096 GB, free: 4.004 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/1.176, allocations: 159.8 kB / 1.097 GB, free: 3.809 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/1.177, allocations: 3.906 kB / 1.097 GB, free: 3.805 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/1.177, allocations: 0.6562 kB / 1.097 GB, free: 3.805 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.949e-05/1.177, allocations: 6.125 kB / 1.097 GB, free: 3.801 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.944e-05/1.177, allocations: 27.75 kB / 1.097 GB, free: 3.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/1.177, allocations: 0 / 1.097 GB, free: 3.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/1.177, allocations: 0 / 1.097 GB, free: 3.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/1.177, allocations: 0.5938 kB / 1.097 GB, free: 3.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/1.177, allocations: 132.4 kB / 1.097 GB, free: 3.605 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.234e-05/1.177, allocations: 24.59 kB / 1.097 GB, free: 3.574 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/1.177, allocations: 8.797 kB / 1.097 GB, free: 3.566 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.036e-05/1.177, allocations: 4.094 kB / 1.097 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.188e-05/1.177, allocations: 34.47 kB / 1.097 GB, free: 3.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.666e-06/1.177, allocations: 0 / 1.097 GB, free: 3.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002653/1.178, allocations: 30.22 kB / 1.097 GB, free: 3.484 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/1.178, allocations: 55.39 kB / 1.097 GB, free: 3.418 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.571e-05/1.178, allocations: 85 kB / 1.097 GB, free: 3.328 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/1.178, allocations: 25.7 kB / 1.097 GB, free: 3.297 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/1.178, allocations: 86.77 kB / 1.097 GB, free: 3.211 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/1.178, allocations: 0 / 1.097 GB, free: 3.211 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/1.178, allocations: 0 / 1.097 GB, free: 3.211 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002032/1.178, allocations: 314.8 kB / 1.097 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/1.178, allocations: 3.938 kB / 1.097 GB, free: 2.891 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.152e-05/1.178, allocations: 1.312 kB / 1.097 GB, free: 2.891 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.598e-05/1.178, allocations: 4 kB / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/1.178, allocations: 3.906 kB / 1.097 GB, free: 2.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001001/1.178, allocations: 34.72 kB / 1.097 GB, free: 2.844 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.178, allocations: 8 kB / 1.097 GB, free: 2.836 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.178, allocations: 6.844 kB / 1.097 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.178, allocations: 0 / 1.097 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/1.179, allocations: 0 / 1.097 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/1.179, allocations: 0 / 1.097 GB, free: 2.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/1.179, allocations: 7.938 kB / 1.097 GB, free: 2.824 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/1.179, allocations: 0 / 1.097 GB, free: 2.824 MB / 0.698 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 (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 8.056e-05/1.179, allocations: 104.8 kB / 1.098 GB, free: 2.715 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/1.179, allocations: 5.391 kB / 1.098 GB, free: 2.711 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/1.179, allocations: 48.5 kB / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/1.179, allocations: 2.375 kB / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.179, allocations: 0.5938 kB / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.179, allocations: 0 / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/1.179, allocations: 131.1 kB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.179, allocations: 3.984 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/1.179, allocations: 3.594 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.179, allocations: 3.906 kB / 1.098 GB, free: 2.488 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/1.179, allocations: 4 kB / 1.098 GB, free: 2.484 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.179, allocations: 1.438 kB / 1.098 GB, free: 2.484 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.179, allocations: 0 / 1.098 GB, free: 2.484 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001122/1.179, allocations: 53.12 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002386/1.18, allocations: 444.3 kB / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/1.18, allocations: 77.11 kB / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/1.18, allocations: 4.641 kB / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.736e-05/1.18, allocations: 4.625 kB / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/1.18, allocations: 0 / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/1.18, allocations: 0.625 kB / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.373e-05/1.18, allocations: 75.91 kB / 1.098 GB, free: 1.785 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001175/1.181, allocations: 11.66 kB / 1.098 GB, free: 1.777 MB / 0.698 GB 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.0001945/1.181, allocations: 100.7 kB / 1.098 GB, free: 1.672 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.8e-05/1.181, allocations: 9.938 kB / 1.098 GB, free: 1.664 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.181, allocations: 0.5 kB / 1.098 GB, free: 1.664 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/1.181, allocations: 8.625 kB / 1.098 GB, free: 1.656 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/1.181, allocations: 7.094 kB / 1.098 GB, free: 1.652 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/1.182, allocations: 48.36 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/1.182, allocations: 0.6841 MB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.182, allocations: 0 / 1.099 GB, free: 0.8711 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)