Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.432/2.432, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.002724/0.002723, allocations: 185.2 kB / 360.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.492/2.492, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001363/0.001362, allocations: 88.17 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3216/0.3231, allocations: 121.4 MB / 0.8502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6587/0.9818, allocations: 115.2 MB / 0.9628 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/1.214, allocations: 137.8 MB / 1.097 GB, free: 3.047 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.214, allocations: 77.25 kB / 1.097 GB, free: 2.973 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02473/1.239, allocations: 4.12 MB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.242e-05/1.239, allocations: 8 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/1.24, allocations: 71.83 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/1.24, allocations: 163 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/1.24, allocations: 4 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/1.24, allocations: 7.938 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001757/1.241, allocations: 23.92 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/1.241, allocations: 53.66 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.241, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/1.241, allocations: 7.891 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.241, allocations: 0 / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/1.241, allocations: 144 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/1.242, allocations: 54.67 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/1.242, allocations: 16.86 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/1.242, allocations: 89.19 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/1.242, allocations: 34.5 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 3.717e-06/1.242, allocations: 0 / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.003263/1.245, allocations: 438.1 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/1.246, allocations: 51.41 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/1.246, allocations: 89 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/1.246, allocations: 29.7 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/1.246, allocations: 84.27 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/1.246, allocations: 23.64 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/1.246, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.246, allocations: 318.8 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/1.246, allocations: 10.53 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.032e-05/1.246, allocations: 12 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007769/1.247, allocations: 75.89 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.247, allocations: 0 / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0009749/1.248, allocations: 119.8 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.248, allocations: 8 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.248, allocations: 4 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.248, allocations: 0 / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/1.249, allocations: 23.98 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.249, allocations: 0 / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/1.249, allocations: 19.98 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/1.249, allocations: 3.984 kB / 1.103 GB, free: 12.73 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 (6): * Single equations (assignments): 6 * 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 0.0001183/1.249, allocations: 116.7 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/1.249, allocations: 3.906 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008964/1.25, allocations: 145.2 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.25, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.25, allocations: 4 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1.25, allocations: 2.438 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/1.25, allocations: 142.2 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.25, allocations: 0 / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/1.25, allocations: 33.52 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.251, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/1.251, allocations: 11.98 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.251, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.251, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008269/1.251, allocations: 173.7 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001082/1.253, allocations: 0.5582 MB / 1.104 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/1.253, allocations: 89.22 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/1.253, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/1.253, allocations: 15.98 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/1.253, allocations: 7.984 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/1.253, allocations: 0 / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.99e-05/1.253, allocations: 87.28 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001159/1.254, allocations: 39.83 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002945/1.255, allocations: 143.1 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001994/1.255, allocations: 32 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.255, allocations: 0 / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/1.255, allocations: 27.92 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/1.255, allocations: 1.25 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/1.256, allocations: 142.1 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/1.256, allocations: 0.7036 MB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/1.256, allocations: 1.969 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)