Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 249.4 MB / 256.7 MB, free: 7.055 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.001122/0.001122, allocations: 184.5 kB / 316 MB, free: 3.547 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.181/1.181, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0008224/0.0008224, allocations: 91.31 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3534/0.3543, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.5192, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.9855, allocations: 132.7 MB / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.9857, allocations: 82.2 kB / 1.014 GB, free: 5.836 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01224/0.998, allocations: 4.112 MB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.998, allocations: 8 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003713/0.9984, allocations: 67.92 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.529e-05/0.9985, allocations: 171 kB / 1.019 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.9985, allocations: 3.906 kB / 1.019 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.9985, allocations: 7.375 kB / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.075e-05/0.9986, allocations: 19.11 kB / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.302e-05/0.9987, allocations: 44.98 kB / 1.019 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.9987, allocations: 3.938 kB / 1.019 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.9988, allocations: 0 / 1.019 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.9988, allocations: 7.984 kB / 1.019 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.999, allocations: 137.1 kB / 1.019 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.9992, allocations: 53.17 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.9992, allocations: 27.47 kB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.246e-05/0.9993, allocations: 89.03 kB / 1.019 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.9993, allocations: 39.52 kB / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.9994, allocations: 0 / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.001225/1.001, allocations: 442 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/1.001, allocations: 51.41 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.152e-05/1.001, allocations: 89 kB / 1.02 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/1.001, allocations: 32.95 kB / 1.02 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/1.001, allocations: 80.14 kB / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/1.001, allocations: 11.75 kB / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/1.001, allocations: 0 / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/1.001, allocations: 325.2 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.179e-05/1.001, allocations: 11.69 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.255e-05/1.001, allocations: 11.25 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/1.001, allocations: 75.59 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/1.001, allocations: 0 / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003596/1.002, allocations: 116.4 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.002, allocations: 11.98 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/1.002, allocations: 0 / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/1.002, allocations: 4 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/1.002, allocations: 27.73 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/1.002, allocations: 0 / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/1.002, allocations: 19.98 kB / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/1.002, allocations: 0 / 1.02 GB, free: 228 kB / 0.6355 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 6.258e-05/1.002, allocations: 108.9 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/1.002, allocations: 4 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/1.003, allocations: 150.4 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/1.003, allocations: 4 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.003, allocations: 0 / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.003, allocations: 3.906 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/1.003, allocations: 141.9 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.003, allocations: 0 / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/1.003, allocations: 27.3 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/1.003, allocations: 4 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.003, allocations: 4 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.003, allocations: 3.938 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.003, allocations: 3.984 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004326/1.003, allocations: 173.1 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005889/1.004, allocations: 0.5637 MB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/1.004, allocations: 89 kB / 1.022 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/1.004, allocations: 0 / 1.022 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/1.004, allocations: 15.98 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/1.004, allocations: 7.547 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/1.004, allocations: 8.062 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.512e-05/1.004, allocations: 75.28 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007864/1.005, allocations: 43.92 kB / 1.022 GB, free: 14.77 MB / 0.6511 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.0002559/1.005, allocations: 138.7 kB / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001185/1.005, allocations: 35.12 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.005, allocations: 0 / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/1.006, allocations: 23.42 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/1.006, allocations: 4.094 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/1.006, allocations: 147 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/1.006, allocations: 0.7036 MB / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/1.007, allocations: 0 / 1.023 GB, free: 13.69 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)