Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.476/2.476, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001635/0.001635, allocations: 177.3 kB / 360.3 MB, free: 7.555 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.931/1.931, 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.001788/0.001787, allocations: 87.11 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2862/0.288, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.9523, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2241/1.176, allocations: 138.6 MB / 1.098 GB, free: 2.258 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/1.177, allocations: 84.88 kB / 1.098 GB, free: 2.176 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.03857/1.215, allocations: 5.515 MB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.215, allocations: 8 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007492/1.216, allocations: 75.92 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/1.216, allocations: 174.9 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/1.216, allocations: 4 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/1.217, allocations: 4 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001807/1.217, allocations: 32 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/1.217, allocations: 77.59 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.217, allocations: 7.844 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/1.217, allocations: 3.75 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/1.217, allocations: 3.984 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007862/1.218, allocations: 301.3 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/1.218, allocations: 53.61 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/1.218, allocations: 20.86 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/1.218, allocations: 8.078 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/1.218, allocations: 40 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/1.218, allocations: 0 / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.03286/1.251, allocations: 2.169 MB / 1.106 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/1.251, allocations: 51.41 kB / 1.106 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/1.251, allocations: 96.98 kB / 1.107 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/1.252, allocations: 29.7 kB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/1.252, allocations: 95.97 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/1.252, allocations: 35.45 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/1.252, allocations: 0 / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002437/1.252, allocations: 318.8 kB / 1.107 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/1.253, allocations: 107.9 kB / 1.107 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/1.254, allocations: 115.9 kB / 1.107 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/1.255, allocations: 138.8 kB / 1.107 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.255, allocations: 3.906 kB / 1.107 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002299/1.257, allocations: 329.4 kB / 1.108 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/1.257, allocations: 8 kB / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.258, allocations: 0 / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/1.258, allocations: 0 / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/1.26, allocations: 127.7 kB / 1.108 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/1.26, allocations: 0 / 1.108 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/1.263, allocations: 63.94 kB / 1.108 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/1.263, allocations: 27.92 kB / 1.108 GB, free: 8 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 (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.0003594/1.263, allocations: 109.3 kB / 1.108 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/1.263, allocations: 7.906 kB / 1.108 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.984e-05/1.263, allocations: 8.062 kB / 1.108 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/1.263, allocations: 0 / 1.108 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.475e-06/1.263, allocations: 4 kB / 1.108 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.263, allocations: 0 / 1.108 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/1.267, allocations: 0.8855 MB / 1.109 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.267, allocations: 0 / 1.109 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002783/1.27, allocations: 130.8 kB / 1.109 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/1.27, allocations: 0 / 1.109 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/1.27, allocations: 27.92 kB / 1.109 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/1.27, allocations: 0 / 1.109 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.27, allocations: 0 / 1.109 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003271/1.274, allocations: 0.5835 MB / 1.11 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004482/1.278, allocations: 1.109 MB / 1.111 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/1.279, allocations: 121.2 kB / 1.111 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/1.279, allocations: 0 / 1.111 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00235/1.281, allocations: 64.06 kB / 1.111 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/1.282, allocations: 31.86 kB / 1.111 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/1.282, allocations: 19.94 kB / 1.111 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001566/1.282, allocations: 83.28 kB / 1.111 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002388/1.285, allocations: 59.94 kB / 1.111 GB, free: 4.617 MB / 0.7136 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.0005099/1.285, allocations: 115.2 kB / 1.111 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001605/1.287, allocations: 263.7 kB / 1.111 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.287, allocations: 0 / 1.111 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008522/1.288, allocations: 151.8 kB / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/1.288, allocations: 0.5156 kB / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/1.301, allocations: 0.8052 MB / 1.112 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/1.303, allocations: 0.821 MB / 1.113 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of SimCode: time 1.934e-06/1.303, allocations: 0 / 1.113 GB, free: 2.41 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)