Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01697/0.01697, allocations: 100.1 kB / 15.87 MB, free: 6.328 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.003253/0.003253, allocations: 192.9 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.726/2.726, allocations: 222.9 MB / 240.5 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003305/0.003305, allocations: 278.1 kB / 290.9 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.894/1.894, allocations: 169.2 MB / 0.4984 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003202/0.003202, allocations: 97.73 kB / 0.5951 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3983, allocations: 86.98 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.008312/0.4067, allocations: 1.884 MB / 0.6819 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.4086, allocations: 0.5326 MB / 0.6824 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003009/0.409, allocations: 3.938 kB / 0.6824 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.4093, allocations: 15.86 kB / 0.6825 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.4096, allocations: 21.53 kB / 0.6825 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.4101, allocations: 59.92 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000434/0.4106, allocations: 171.4 kB / 0.6827 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.4108, allocations: 48.52 kB / 0.6827 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.411, allocations: 51.7 kB / 0.6828 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.4112, allocations: 56.42 kB / 0.6828 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.4112, allocations: 4 kB / 0.6829 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.4113, allocations: 8.625 kB / 0.6829 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.4114, allocations: 23.86 kB / 0.6829 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.4115, allocations: 61.02 kB / 0.6829 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.4119, allocations: 91.78 kB / 0.683 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4119, allocations: 3.938 kB / 0.683 GB, free: 14.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4119, allocations: 4.656 kB / 0.683 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.412, allocations: 0 / 0.683 GB, free: 14.13 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001451/0.4134, allocations: 470.7 kB / 0.6835 GB, free: 13.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.967e-05/0.4135, allocations: 12.03 kB / 0.6835 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.4136, allocations: 16.75 kB / 0.6835 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.4142, allocations: 227.9 kB / 0.6837 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.4143, allocations: 8.375 kB / 0.6837 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.4144, allocations: 12.38 kB / 0.6838 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.415, allocations: 156.2 kB / 0.6839 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.415, allocations: 0 / 0.6839 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.4151, allocations: 8 kB / 0.6839 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.4151, allocations: 0 / 0.6839 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.4155, allocations: 75.83 kB / 0.684 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.4177, allocations: 0.7431 MB / 0.6847 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.418, allocations: 50.48 kB / 0.6848 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.4182, allocations: 36.83 kB / 0.6848 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.4182, allocations: 0 / 0.6848 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005862/0.4188, allocations: 122.7 kB / 0.6849 GB, free: 12.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 3.316e-06/0.4189, allocations: 4 kB / 0.6849 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009211/0.4198, allocations: 161.3 kB / 0.6851 GB, free: 11.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.42, allocations: 136.8 kB / 0.6852 GB, free: 11.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.4203, allocations: 202.9 kB / 0.6854 GB, free: 11.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.4204, allocations: 37.64 kB / 0.6854 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.4206, allocations: 123.8 kB / 0.6855 GB, free: 11.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.4207, allocations: 39.69 kB / 0.6856 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.4208, allocations: 41.7 kB / 0.6856 GB, free: 11.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.4211, allocations: 326.8 kB / 0.6859 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.4213, allocations: 35.97 kB / 0.686 GB, free: 10.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.4217, allocations: 157.3 kB / 0.6861 GB, free: 10.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/0.4223, allocations: 202.3 kB / 0.6863 GB, free: 10.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.4223, allocations: 8 kB / 0.6863 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008438/0.4232, allocations: 201.4 kB / 0.6865 GB, free: 10.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/0.4233, allocations: 8 kB / 0.6865 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.4233, allocations: 240 / 0.6865 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-05/0.4234, allocations: 11.98 kB / 0.6865 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.4236, allocations: 31.92 kB / 0.6866 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.4237, allocations: 4 kB / 0.6866 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.424, allocations: 27.83 kB / 0.6866 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.424, allocations: 16.17 kB / 0.6866 GB, free: 10.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003021/0.4243, allocations: 147 kB / 0.6867 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.4244, allocations: 15.81 kB / 0.6868 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.491e-05/0.4245, allocations: 21.34 kB / 0.6868 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.4245, allocations: 4 kB / 0.6868 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.4246, allocations: 0 / 0.6868 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.4246, allocations: 3.984 kB / 0.6868 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.4262, allocations: 0.5171 MB / 0.6873 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4263, allocations: 0 / 0.6873 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.4265, allocations: 19.92 kB / 0.6873 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4265, allocations: 0 / 0.6873 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.4265, allocations: 8 kB / 0.6873 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.4266, allocations: 0 / 0.6873 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-06/0.4266, allocations: 7.938 kB / 0.6873 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008947/0.4275, allocations: 352.2 kB / 0.6877 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.4276, allocations: 88.92 kB / 0.6877 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.4277, allocations: 8 kB / 0.6878 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.428, allocations: 16.02 kB / 0.6878 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4281, allocations: 23.86 kB / 0.6878 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.4282, allocations: 4 kB / 0.6878 GB, free: 8.758 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002249/0.4284, allocations: 136.6 kB / 0.6879 GB, free: 8.625 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4284, allocations: 3.938 kB / 0.6879 GB, free: 8.621 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006019/0.429, allocations: 35.84 kB / 0.688 GB, free: 8.586 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002653/0.4293, allocations: 111.2 kB / 0.6881 GB, free: 8.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.43, allocations: 107.9 kB / 0.6882 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.43, allocations: 0 / 0.6882 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.4303, allocations: 60.97 kB / 0.6882 GB, free: 8.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4313, allocations: 61.91 kB / 0.6883 GB, free: 8.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.4328, allocations: 419.9 kB / 0.6887 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.4335, allocations: 0.7245 MB / 0.6894 GB, free: 7.043 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.4336, allocations: 19.38 kB / 0.6894 GB, free: 7.023 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4336, allocations: 4 kB / 0.6894 GB, free: 7.02 MB / 494.1 MB Notification: Performance of Templates: time 0.008215/0.4419, allocations: 2.132 MB / 0.6915 GB, free: 4.898 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o] Error 1