Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 98.31 kB / 16.33 MB, free: 5.684 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.001894/0.001894, allocations: 191.2 kB / 17.23 MB, free: 5.598 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.484/1.484, allocations: 223.2 MB / 241.2 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7025/0.7025, allocations: 114.4 MB / 406.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 11.98 kB / 494.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1774, allocations: 77.26 MB / 0.5583 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003481/0.1809, allocations: 2.662 MB / 0.5609 GB, free: 8.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.1834, allocations: 1.602 MB / 0.5625 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1835, allocations: 0 / 0.5625 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.1837, allocations: 35.72 kB / 0.5625 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.1842, allocations: 155.3 kB / 0.5627 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.1846, allocations: 151.6 kB / 0.5628 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.185, allocations: 362.9 kB / 0.5632 GB, free: 6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008472/0.1858, allocations: 0.4915 MB / 0.5636 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.186, allocations: 111.6 kB / 0.5637 GB, free: 5.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.1863, allocations: 143.5 kB / 0.5639 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.1863, allocations: 12 kB / 0.5639 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.1866, allocations: 135.8 kB / 0.564 GB, free: 5.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1868, allocations: 95.75 kB / 0.5641 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.1868, allocations: 65.58 kB / 0.5642 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.1872, allocations: 315.5 kB / 0.5645 GB, free: 4.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1872, allocations: 0 / 0.5645 GB, free: 4.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1872, allocations: 0 / 0.5645 GB, free: 4.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1873, allocations: 4 kB / 0.5645 GB, free: 4.605 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001/0.1883, allocations: 0.4989 MB / 0.565 GB, free: 4.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1883, allocations: 8.031 kB / 0.565 GB, free: 4.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007337/0.1891, allocations: 91.61 kB / 0.5651 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.1894, allocations: 260.3 kB / 0.5653 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1894, allocations: 12.44 kB / 0.5653 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-05/0.1895, allocations: 35.94 kB / 0.5654 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.1901, allocations: 373 kB / 0.5657 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1901, allocations: 0 / 0.5657 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.1902, allocations: 8 kB / 0.5657 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.071e-05/0.1903, allocations: 28.42 kB / 0.5658 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.1907, allocations: 309.4 kB / 0.566 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.1925, allocations: 1.533 MB / 0.5675 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.1929, allocations: 226.5 kB / 0.5678 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.1931, allocations: 120.8 kB / 0.5679 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.1932, allocations: 89.05 kB / 0.568 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1933, allocations: 34.56 kB / 0.568 GB, free: 0.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.1933, allocations: 0 / 0.568 GB, free: 0.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001208/0.1945, allocations: 0.7924 MB / 0.5688 GB, free: 15.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1945, allocations: 51.41 kB / 0.5688 GB, free: 15.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1947, allocations: 198.6 kB / 0.569 GB, free: 15.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1948, allocations: 29.7 kB / 0.569 GB, free: 15.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.1949, allocations: 163.8 kB / 0.5692 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.1949, allocations: 63.11 kB / 0.5693 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.1949, allocations: 4 kB / 0.5693 GB, free: 15.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1951, allocations: 330.8 kB / 0.5696 GB, free: 15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.1952, allocations: 107.9 kB / 0.5697 GB, free: 14.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.1954, allocations: 174.9 kB / 0.5698 GB, free: 14.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.1956, allocations: 134.3 kB / 0.57 GB, free: 14.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1956, allocations: 0 / 0.57 GB, free: 14.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007051/0.1964, allocations: 421.5 kB / 0.5704 GB, free: 14.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1964, allocations: 4 kB / 0.5704 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1964, allocations: 7.984 kB / 0.5704 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003794/0.1968, allocations: 100.9 kB / 0.5705 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.197, allocations: 47.97 kB / 0.5705 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.1987, allocations: 1.738 MB / 0.5722 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.199, allocations: 15.98 kB / 0.5722 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.199, allocations: 7.984 kB / 0.5722 GB, free: 12.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.1992, allocations: 162.3 kB / 0.5724 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.1992, allocations: 15.81 kB / 0.5724 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.1997, allocations: 305.6 kB / 0.5727 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1997, allocations: 7.938 kB / 0.5727 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1997, allocations: 0 / 0.5727 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1997, allocations: 3.984 kB / 0.5727 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.2006, allocations: 0.7133 MB / 0.5734 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2006, allocations: 0 / 0.5734 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.2009, allocations: 63.89 kB / 0.5735 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.2009, allocations: 0 / 0.5735 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.2009, allocations: 4 kB / 0.5735 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.2009, allocations: 0 / 0.5735 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.2009, allocations: 4 kB / 0.5735 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.2015, allocations: 0.5118 MB / 0.574 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.896e-05/0.2016, allocations: 116.9 kB / 0.5741 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.2017, allocations: 15.92 kB / 0.5741 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.2018, allocations: 11.92 kB / 0.5741 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.2019, allocations: 15.98 kB / 0.5741 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2019, allocations: 4 kB / 0.5741 GB, free: 10.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.202, allocations: 144.1 kB / 0.5743 GB, free: 9.902 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.202, allocations: 0 / 0.5743 GB, free: 9.902 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.2024, allocations: 72 kB / 0.5743 GB, free: 9.832 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001611/0.2025, allocations: 103.9 kB / 0.5744 GB, free: 9.719 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007162/0.2033, allocations: 426.6 kB / 0.5749 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2033, allocations: 0 / 0.5749 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.2034, allocations: 123.8 kB / 0.575 GB, free: 9.168 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.2038, allocations: 37.88 kB / 0.575 GB, free: 9.133 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.2051, allocations: 0.7962 MB / 0.5758 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.2054, allocations: 0.7755 MB / 0.5765 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.339e-05/0.2055, allocations: 23.44 kB / 0.5766 GB, free: 7.48 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2055, allocations: 0 / 0.5766 GB, free: 7.48 MB / 446.1 MB Notification: Performance of Templates: time 0.005682/0.2112, allocations: 3.565 MB / 0.58 GB, free: 3.922 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1