Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.279/1.279, allocations: 249.4 MB / 256.7 MB, free: 6.945 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.001124/0.001124, allocations: 184.4 kB / 316 MB, free: 3.531 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.237/1.237, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0008362/0.0008363, allocations: 97.97 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3604/0.3613, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.5316, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5213/1.053, allocations: 133.5 MB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.053, allocations: 80.25 kB / 1.015 GB, free: 5.012 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01751/1.071, allocations: 5.519 MB / 1.021 GB, free: 344 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.071, allocations: 12 kB / 1.021 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003995/1.071, allocations: 75.83 kB / 1.021 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/1.071, allocations: 170.9 kB / 1.021 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/1.071, allocations: 4 kB / 1.021 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/1.072, allocations: 7.906 kB / 1.021 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001173/1.072, allocations: 38.36 kB / 1.021 GB, free: 4 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/1.072, allocations: 72.22 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.072, allocations: 0 / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/1.072, allocations: 0 / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/1.072, allocations: 4 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/1.072, allocations: 304.9 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/1.073, allocations: 51.08 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/1.073, allocations: 23.36 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/1.073, allocations: 4.141 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/1.073, allocations: 38.55 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/1.073, allocations: 0 / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.01438/1.087, allocations: 2.173 MB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/1.087, allocations: 55.41 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.228e-05/1.087, allocations: 100.3 kB / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/1.087, allocations: 25.7 kB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/1.087, allocations: 87.98 kB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/1.087, allocations: 35.27 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/1.087, allocations: 0 / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.088, allocations: 322.1 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/1.088, allocations: 110.7 kB / 1.024 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/1.088, allocations: 112.1 kB / 1.024 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/1.088, allocations: 138.5 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.088, allocations: 3.984 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007711/1.089, allocations: 336.2 kB / 1.025 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.089, allocations: 11.94 kB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.089, allocations: 160 / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/1.089, allocations: 0 / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009353/1.09, allocations: 127.8 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.09, allocations: 3.984 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/1.091, allocations: 63.94 kB / 1.025 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/1.091, allocations: 23.94 kB / 1.025 GB, free: 12.05 MB / 0.6511 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 (13): * Single equations (assignments): 13 * 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.0001331/1.091, allocations: 104.5 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-05/1.091, allocations: 11.84 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/1.091, allocations: 11.88 kB / 1.025 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.091, allocations: 0 / 1.025 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.091, allocations: 11.89 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.091, allocations: 4 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/1.093, allocations: 0.8709 MB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.093, allocations: 0 / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009545/1.094, allocations: 127.4 kB / 1.026 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/1.094, allocations: 7.891 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/1.094, allocations: 23.88 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.094, allocations: 0 / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.094, allocations: 3.984 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001291/1.095, allocations: 0.5754 MB / 1.027 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001566/1.097, allocations: 1.104 MB / 1.028 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/1.097, allocations: 123.8 kB / 1.028 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/1.097, allocations: 0 / 1.028 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/1.098, allocations: 64.06 kB / 1.028 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/1.098, allocations: 31.86 kB / 1.028 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.85e-05/1.098, allocations: 19.94 kB / 1.028 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.264e-05/1.098, allocations: 86.7 kB / 1.028 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001016/1.099, allocations: 63.84 kB / 1.028 GB, free: 9.125 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002209/1.099, allocations: 111.2 kB / 1.028 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005807/1.1, allocations: 271.4 kB / 1.028 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.1, allocations: 0 / 1.028 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/1.1, allocations: 141.4 kB / 1.029 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/1.1, allocations: 11.55 kB / 1.029 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/1.105, allocations: 0.8001 MB / 1.029 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007448/1.105, allocations: 0.8201 MB / 1.03 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of SimCode: time 4.61e-07/1.105, allocations: 0 / 1.03 GB, free: 7.082 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)