Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007923/0.0007925, allocations: 96.2 kB / 16.33 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000789/0.0007892, allocations: 181.6 kB / 17.23 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.2 MB / 241.2 MB, free: 14.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7873/0.7873, allocations: 114.3 MB / 406.7 MB, free: 8.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003544, allocations: 8 kB / 494.5 MB, free: 1.391 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5078/0.5082, allocations: 77.25 MB / 0.5583 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.000967/0.5092, allocations: 334.6 kB / 0.5586 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.5113, allocations: 1.336 MB / 0.5599 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.5114, allocations: 0.5 kB / 0.5599 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.94e-05/0.5114, allocations: 0 / 0.5599 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.5115, allocations: 2.766 kB / 0.5599 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.5123, allocations: 145.5 kB / 0.5601 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.202e-05/0.5124, allocations: 34.41 kB / 0.5601 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.5124, allocations: 1.094 kB / 0.5601 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.5125, allocations: 17.33 kB / 0.5601 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.5126, allocations: 30.72 kB / 0.5602 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.5126, allocations: 2.406 kB / 0.5602 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004842/0.5131, allocations: 179.7 kB / 0.5603 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.5132, allocations: 11.3 kB / 0.5604 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.5132, allocations: 33.42 kB / 0.5604 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.5135, allocations: 130 kB / 0.5605 GB, free: 34.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.5135, allocations: 0.5625 kB / 0.5605 GB, free: 34.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5135, allocations: 0 / 0.5605 GB, free: 34.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.5135, allocations: 1.188 kB / 0.5605 GB, free: 34.77 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005018/0.514, allocations: 435.2 kB / 0.5609 GB, free: 34.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/0.5141, allocations: 17.17 kB / 0.5609 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.5142, allocations: 3.938 kB / 0.5609 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5143, allocations: 168.1 kB / 0.5611 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.5143, allocations: 7.609 kB / 0.5611 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.5144, allocations: 2.375 kB / 0.5611 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.5146, allocations: 96 kB / 0.5612 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.5146, allocations: 3.953 kB / 0.5612 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.5146, allocations: 1.969 kB / 0.5612 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.5147, allocations: 0 / 0.5612 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.5148, allocations: 65.73 kB / 0.5613 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.515, allocations: 176.4 kB / 0.5614 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.5152, allocations: 77.25 kB / 0.5615 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.5153, allocations: 71.31 kB / 0.5616 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.5153, allocations: 1.25 kB / 0.5616 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.5153, allocations: 34.11 kB / 0.5616 GB, free: 33.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.5153, allocations: 0.7188 kB / 0.5616 GB, free: 33.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004788/0.5158, allocations: 262.8 kB / 0.5619 GB, free: 33.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.5159, allocations: 80.33 kB / 0.5619 GB, free: 33.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.516, allocations: 147 kB / 0.5621 GB, free: 33.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.5161, allocations: 27.95 kB / 0.5621 GB, free: 33.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.5161, allocations: 94.69 kB / 0.5622 GB, free: 33.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.5162, allocations: 14.88 kB / 0.5622 GB, free: 33.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.5162, allocations: 1.531 kB / 0.5622 GB, free: 33.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5163, allocations: 320.7 kB / 0.5625 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.5165, allocations: 105 kB / 0.5626 GB, free: 33.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.5166, allocations: 106.4 kB / 0.5627 GB, free: 33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.5169, allocations: 162.4 kB / 0.5629 GB, free: 32.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5169, allocations: 0 / 0.5629 GB, free: 32.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004286/0.5173, allocations: 320.3 kB / 0.5632 GB, free: 32.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/0.5174, allocations: 71.59 kB / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5174, allocations: 0.5625 kB / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.5174, allocations: 2.5 kB / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/0.5174, allocations: 3.953 kB / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5174, allocations: 0 / 0.5633 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.5176, allocations: 20.06 kB / 0.5633 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.5177, allocations: 3.844 kB / 0.5633 GB, free: 32.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001079/0.5178, allocations: 147.9 kB / 0.5634 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.5178, allocations: 8.812 kB / 0.5634 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.5178, allocations: 6.531 kB / 0.5634 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5178, allocations: 2.188 kB / 0.5634 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5178, allocations: 3.953 kB / 0.5634 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.5179, allocations: 2.344 kB / 0.5634 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.518, allocations: 177.6 kB / 0.5636 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.518, allocations: 0 / 0.5636 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.518, allocations: 1.438 kB / 0.5636 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.518, allocations: 0 / 0.5636 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.518, allocations: 3.125 kB / 0.5636 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.518, allocations: 0 / 0.5636 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.518, allocations: 1.594 kB / 0.5636 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.5184, allocations: 239.3 kB / 0.5638 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.5184, allocations: 83.02 kB / 0.5639 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.5185, allocations: 4.031 kB / 0.5639 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.127e-05/0.5185, allocations: 8.438 kB / 0.5639 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.5186, allocations: 8.75 kB / 0.5639 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.5186, allocations: 2.062 kB / 0.564 GB, free: 32.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.201e-05/0.5187, allocations: 111.6 kB / 0.5641 GB, free: 32.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5187, allocations: 0 / 0.5641 GB, free: 32.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004581/0.5192, allocations: 68.91 kB / 0.5641 GB, free: 32.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003298/0.5195, allocations: 151.1 kB / 0.5643 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004994/0.52, allocations: 367.9 kB / 0.5646 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.52, allocations: 0 / 0.5646 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.5203, allocations: 141.9 kB / 0.5648 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.5205, allocations: 5.453 kB / 0.5648 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.5211, allocations: 239.1 kB / 0.565 GB, free: 31.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.5214, allocations: 0.6905 MB / 0.5657 GB, free: 30.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.5214, allocations: 9.938 kB / 0.5657 GB, free: 30.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5214, allocations: 0 / 0.5657 GB, free: 30.8 MB / 446.1 MB Notification: Performance of Templates: time 0.005472/0.5269, allocations: 1.665 MB / 0.5673 GB, free: 30.75 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermiteCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermiteCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermiteCalcHelperMain.o] Error 1