Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.404/1.404, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009687/0.0009687, allocations: 191.1 kB / 361.1 MB, free: 7.105 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.094/1.094, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008341/0.0008341, allocations: 85.38 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2132/0.2141, allocations: 121.5 MB / 0.8512 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.747, allocations: 115.3 MB / 0.9638 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.9087, allocations: 138 MB / 1.099 GB, free: 2.008 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.909, allocations: 85.25 kB / 1.099 GB, free: 1.926 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.01257/0.9215, allocations: 4.108 MB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9216, allocations: 11.98 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.922, allocations: 71.83 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.9221, allocations: 167 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.9222, allocations: 3.938 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.9222, allocations: 4 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.45e-05/0.9223, allocations: 19.98 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.9224, allocations: 53.61 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.9224, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.9224, allocations: 3.906 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.9224, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.9226, allocations: 143.6 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.9229, allocations: 59.36 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.9229, allocations: 16.86 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.52e-05/0.923, allocations: 85.11 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.923, allocations: 30.56 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.923, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.001368/0.9244, allocations: 442.1 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.9245, allocations: 51.41 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.9246, allocations: 96.98 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.9246, allocations: 29.58 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.9246, allocations: 84.14 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.9247, allocations: 19.66 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.9247, allocations: 0 / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.9248, allocations: 314.8 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.9248, allocations: 12 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.9249, allocations: 15.98 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.9252, allocations: 73.53 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.9252, allocations: 0 / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003645/0.9256, allocations: 117.5 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.9256, allocations: 12 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9256, allocations: 0 / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.9256, allocations: 0 / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.9258, allocations: 27.97 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.9258, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.9259, allocations: 23.98 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.9259, allocations: 0 / 1.104 GB, free: 11.7 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 7.232e-05/0.926, allocations: 105 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.926, allocations: 7.844 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.9265, allocations: 146.8 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9265, allocations: 0 / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.9265, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9265, allocations: 3.984 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.9266, allocations: 146.2 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.9267, allocations: 4 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.9268, allocations: 31.88 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.9268, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.9269, allocations: 4 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9269, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9269, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004568/0.9273, allocations: 179.7 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000619/0.928, allocations: 0.5621 MB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.928, allocations: 85.09 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.9281, allocations: 0 / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.9282, allocations: 15.98 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.9282, allocations: 4 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.9283, allocations: 9.797 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.756e-05/0.9283, allocations: 83.34 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007734/0.9291, allocations: 35.84 kB / 1.106 GB, free: 10.19 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.0002019/0.9293, allocations: 142.9 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.9294, allocations: 38.61 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9294, allocations: 0 / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.9295, allocations: 24 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/0.9296, allocations: 0.75 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.9301, allocations: 141 kB / 1.106 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.9304, allocations: 0.7044 MB / 1.107 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.9304, allocations: 4 kB / 1.107 GB, free: 9.09 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)