Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.004801/0.004801, allocations: 180.7 kB / 7.457 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6979/0.6979, 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.536/1.536, allocations: 221.3 MB / 395 MB, free: 10.24 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.001158/0.001158, allocations: 98.72 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4903/0.4915, allocations: 88.45 MB / 0.553 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.695, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5731/1.268, allocations: 112 MB / 0.7427 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/1.268, allocations: 77.22 kB / 0.7428 GB, free: 10.72 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.01687/1.285, allocations: 5.577 MB / 0.7482 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.285, allocations: 7.812 kB / 0.7483 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/1.286, allocations: 78.72 kB / 0.7483 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/1.286, allocations: 174.5 kB / 0.7485 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/1.286, allocations: 3.875 kB / 0.7485 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/1.286, allocations: 3.844 kB / 0.7485 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001209/1.286, allocations: 41.58 kB / 0.7485 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/1.286, allocations: 66.39 kB / 0.7486 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.286, allocations: 1.547 kB / 0.7486 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/1.286, allocations: 4 kB / 0.7486 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.286, allocations: 3.812 kB / 0.7486 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/1.287, allocations: 307.3 kB / 0.7489 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.112e-05/1.287, allocations: 50.25 kB / 0.749 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/1.287, allocations: 20.38 kB / 0.749 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/1.287, allocations: 0.5156 kB / 0.749 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/1.287, allocations: 34.95 kB / 0.749 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/1.287, allocations: 3.812 kB / 0.749 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.01572/1.303, allocations: 2.181 MB / 0.7511 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/1.303, allocations: 56.62 kB / 0.7512 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/1.303, allocations: 92.22 kB / 0.7513 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/1.303, allocations: 29.7 kB / 0.7513 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/1.303, allocations: 89.94 kB / 0.7514 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/1.303, allocations: 36.94 kB / 0.7514 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/1.303, allocations: 0 / 0.7514 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/1.303, allocations: 321 kB / 0.7517 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/1.304, allocations: 110.1 kB / 0.7518 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/1.304, allocations: 112.7 kB / 0.7519 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/1.304, allocations: 135.4 kB / 0.7521 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/1.304, allocations: 0 / 0.7521 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000841/1.305, allocations: 336.1 kB / 0.7524 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.305, allocations: 8.391 kB / 0.7524 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.305, allocations: 1.281 kB / 0.7524 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.305, allocations: 3.938 kB / 0.7524 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009541/1.306, allocations: 124.4 kB / 0.7525 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.306, allocations: 1.312 kB / 0.7525 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/1.307, allocations: 61.81 kB / 0.7526 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/1.307, allocations: 29.95 kB / 0.7526 GB, free: 24.2 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.0001478/1.307, allocations: 102.3 kB / 0.7527 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/1.307, allocations: 6.75 kB / 0.7527 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/1.307, allocations: 12.83 kB / 0.7527 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/1.307, allocations: 1.312 kB / 0.7527 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.307, allocations: 0 / 0.7527 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.307, allocations: 1.344 kB / 0.7527 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/1.309, allocations: 0.8887 MB / 0.7536 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.309, allocations: 0 / 0.7536 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009531/1.31, allocations: 125.8 kB / 0.7537 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/1.31, allocations: 0 / 0.7537 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/1.31, allocations: 24.48 kB / 0.7537 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/1.31, allocations: 2.359 kB / 0.7538 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.31, allocations: 3.906 kB / 0.7538 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001226/1.311, allocations: 0.5818 MB / 0.7543 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001863/1.313, allocations: 1.108 MB / 0.7554 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/1.313, allocations: 117.2 kB / 0.7555 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/1.313, allocations: 1.016 kB / 0.7555 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008238/1.314, allocations: 68.86 kB / 0.7556 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.314, allocations: 25.28 kB / 0.7556 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-05/1.314, allocations: 24.67 kB / 0.7556 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.42e-05/1.314, allocations: 85.69 kB / 0.7557 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001022/1.315, allocations: 59.8 kB / 0.7558 GB, free: 22.69 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.0002587/1.316, allocations: 118.2 kB / 0.7559 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006946/1.316, allocations: 259.4 kB / 0.7561 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.316, allocations: 0.5625 kB / 0.7561 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/1.317, allocations: 146.8 kB / 0.7563 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/1.317, allocations: 9.719 kB / 0.7563 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/1.321, allocations: 0.8035 MB / 0.7571 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000777/1.322, allocations: 0.8156 MB / 0.7579 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/1.322, allocations: 3.938 kB / 0.7579 GB, free: 21.26 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)