Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.6903/0.6903, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.00111, allocations: 185.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009794/0.0009793, allocations: 91.33 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3371/0.3381, allocations: 82.9 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.5339, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5013/1.035, allocations: 103.5 MB / 0.7221 GB, free: 8.879 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.036, allocations: 83.94 kB / 0.7221 GB, free: 8.797 MB / 490.7 MB 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.0181/1.054, allocations: 5.844 MB / 0.7278 GB, free: 2.914 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/1.054, allocations: 8 kB / 0.7278 GB, free: 2.906 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003942/1.054, allocations: 83.77 kB / 0.7279 GB, free: 2.824 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/1.054, allocations: 170.9 kB / 0.7281 GB, free: 2.617 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/1.054, allocations: 4 kB / 0.7281 GB, free: 2.613 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/1.054, allocations: 7.984 kB / 0.7281 GB, free: 2.605 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001186/1.055, allocations: 35.98 kB / 0.7281 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/1.055, allocations: 71.28 kB / 0.7282 GB, free: 2.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/1.055, allocations: 0 / 0.7282 GB, free: 2.496 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/1.055, allocations: 4 kB / 0.7282 GB, free: 2.492 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.055, allocations: 0 / 0.7282 GB, free: 2.492 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/1.055, allocations: 313.1 kB / 0.7285 GB, free: 2.148 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.976e-05/1.055, allocations: 49.7 kB / 0.7286 GB, free: 2.094 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/1.055, allocations: 20.86 kB / 0.7286 GB, free: 2.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/1.055, allocations: 4 kB / 0.7286 GB, free: 2.066 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/1.055, allocations: 38.5 kB / 0.7286 GB, free: 2.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 2.865e-06/1.055, allocations: 0 / 0.7286 GB, free: 2.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.01509/1.071, allocations: 2.182 MB / 0.7307 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/1.071, allocations: 51.41 kB / 0.7308 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/1.071, allocations: 89 kB / 0.7309 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/1.071, allocations: 25.7 kB / 0.7309 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/1.071, allocations: 99.97 kB / 0.731 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.131e-05/1.071, allocations: 31.47 kB / 0.731 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/1.071, allocations: 0 / 0.731 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.071, allocations: 322.8 kB / 0.7313 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/1.071, allocations: 111.9 kB / 0.7314 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/1.072, allocations: 115.9 kB / 0.7316 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/1.072, allocations: 127.8 kB / 0.7317 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/1.072, allocations: 4.094 kB / 0.7317 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008181/1.073, allocations: 344.3 kB / 0.732 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.073, allocations: 8 kB / 0.732 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.073, allocations: 0 / 0.732 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/1.073, allocations: 7.938 kB / 0.732 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/1.074, allocations: 119.8 kB / 0.7321 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.074, allocations: 4 kB / 0.7321 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/1.075, allocations: 59.94 kB / 0.7322 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/1.075, allocations: 19.94 kB / 0.7322 GB, free: 14.2 MB / 0.4948 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.0001565/1.075, allocations: 120.8 kB / 0.7323 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/1.075, allocations: 4 kB / 0.7323 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/1.075, allocations: 11.97 kB / 0.7323 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.075, allocations: 0 / 0.7323 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.075, allocations: 0 / 0.7323 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.075, allocations: 0 / 0.7323 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/1.077, allocations: 0.8773 MB / 0.7332 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.077, allocations: 4 kB / 0.7332 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.078, allocations: 131.7 kB / 0.7333 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.078, allocations: 4 kB / 0.7333 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.305e-05/1.078, allocations: 19.94 kB / 0.7334 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.078, allocations: 0 / 0.7334 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.078, allocations: 4 kB / 0.7334 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001165/1.079, allocations: 0.5773 MB / 0.7339 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001476/1.08, allocations: 1.114 MB / 0.735 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/1.081, allocations: 117.1 kB / 0.7351 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-05/1.081, allocations: 0 / 0.7351 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/1.081, allocations: 67.98 kB / 0.7352 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.082, allocations: 27.83 kB / 0.7352 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-05/1.082, allocations: 27.92 kB / 0.7352 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.729e-05/1.082, allocations: 83.28 kB / 0.7353 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009991/1.083, allocations: 55.94 kB / 0.7354 GB, free: 10.8 MB / 0.4948 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.0002502/1.083, allocations: 111.2 kB / 0.7355 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005611/1.083, allocations: 267.9 kB / 0.7357 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.083, allocations: 0 / 0.7357 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002901/1.084, allocations: 151.9 kB / 0.7359 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/1.084, allocations: 2.625 kB / 0.7359 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/1.088, allocations: 0.8077 MB / 0.7367 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/1.089, allocations: 0.8204 MB / 0.7375 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/1.089, allocations: 7.938 kB / 0.7375 GB, free: 8.59 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)