Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.003459/0.003459, allocations: 178.4 kB / 7.46 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6556/0.6556, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 109.7 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5001/0.5013, allocations: 88.45 MB / 0.553 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.7094, allocations: 82.31 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6338/1.343, allocations: 112 MB / 0.7427 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.344, allocations: 80.12 kB / 0.7428 GB, free: 10.52 MB / 0.4948 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.01695/1.361, allocations: 5.574 MB / 0.7482 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/1.361, allocations: 15.78 kB / 0.7483 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005054/1.361, allocations: 74.8 kB / 0.7483 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/1.361, allocations: 160.4 kB / 0.7485 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/1.362, allocations: 7.062 kB / 0.7485 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/1.362, allocations: 3.844 kB / 0.7485 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001342/1.362, allocations: 48.06 kB / 0.7485 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/1.362, allocations: 69.08 kB / 0.7486 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.362, allocations: 0 / 0.7486 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/1.362, allocations: 0 / 0.7486 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/1.362, allocations: 0 / 0.7486 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007467/1.363, allocations: 314.4 kB / 0.7489 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/1.363, allocations: 46.55 kB / 0.749 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/1.363, allocations: 24.69 kB / 0.749 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/1.363, allocations: 0.9375 kB / 0.749 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/1.363, allocations: 30.56 kB / 0.749 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/1.363, allocations: 4 kB / 0.749 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.01689/1.38, allocations: 2.179 MB / 0.7511 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/1.38, allocations: 60.66 kB / 0.7512 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/1.38, allocations: 95.64 kB / 0.7513 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/1.38, allocations: 27.14 kB / 0.7513 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/1.38, allocations: 89.38 kB / 0.7514 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.038e-05/1.38, allocations: 38 kB / 0.7514 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/1.38, allocations: 0 / 0.7514 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.38, allocations: 322.6 kB / 0.7517 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/1.381, allocations: 111.5 kB / 0.7518 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/1.381, allocations: 114.2 kB / 0.752 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/1.381, allocations: 132.7 kB / 0.7521 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.381, allocations: 0 / 0.7521 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009002/1.382, allocations: 338 kB / 0.7524 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.382, allocations: 5.125 kB / 0.7524 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.382, allocations: 0 / 0.7524 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.382, allocations: 1.281 kB / 0.7524 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009604/1.383, allocations: 126.6 kB / 0.7525 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.383, allocations: 1.953 kB / 0.7525 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/1.384, allocations: 65.45 kB / 0.7526 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-05/1.384, allocations: 27.45 kB / 0.7526 GB, free: 24 MB / 0.5105 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.0001798/1.384, allocations: 102.3 kB / 0.7527 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/1.384, allocations: 6.438 kB / 0.7527 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/1.385, allocations: 8.469 kB / 0.7527 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.385, allocations: 5.281 kB / 0.7527 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.385, allocations: 0 / 0.7527 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.385, allocations: 4.562 kB / 0.7527 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/1.386, allocations: 0.8809 MB / 0.7536 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.386, allocations: 0 / 0.7536 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009246/1.387, allocations: 124.5 kB / 0.7537 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.387, allocations: 1.219 kB / 0.7537 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/1.387, allocations: 22.09 kB / 0.7537 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/1.387, allocations: 5.25 kB / 0.7538 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.387, allocations: 3.906 kB / 0.7538 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001332/1.389, allocations: 0.5859 MB / 0.7543 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001788/1.391, allocations: 1.104 MB / 0.7554 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/1.391, allocations: 115.5 kB / 0.7555 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/1.391, allocations: 5.25 kB / 0.7555 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007977/1.392, allocations: 61.52 kB / 0.7556 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.392, allocations: 25.55 kB / 0.7556 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.259e-05/1.392, allocations: 33.02 kB / 0.7556 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.703e-05/1.392, allocations: 78.06 kB / 0.7557 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001069/1.393, allocations: 55.75 kB / 0.7558 GB, free: 22.48 MB / 0.5105 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.0003134/1.393, allocations: 124.8 kB / 0.7559 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008432/1.394, allocations: 262.6 kB / 0.7561 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.394, allocations: 0.5312 kB / 0.7561 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003986/1.395, allocations: 149.1 kB / 0.7563 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/1.395, allocations: 11.05 kB / 0.7563 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/1.4, allocations: 0.8041 MB / 0.7571 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007827/1.4, allocations: 0.8187 MB / 0.7579 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of SimCode: time 8.81e-07/1.4, allocations: 0 / 0.7579 GB, free: 21.05 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)