Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005703/0.005711, allocations: 101.5 kB / 15.88 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.001084/0.001084, allocations: 195.7 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 1.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7208/0.7208, allocations: 132.2 MB / 422.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 60.19 kB / 0.5017 GB, free: 4.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4159, allocations: 80.21 MB / 0.58 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005487/0.4214, allocations: 4.872 MB / 0.5848 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1672/0.5886, allocations: 148.4 MB / 0.7297 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.5899, allocations: 19.88 kB / 0.7297 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000765/0.5907, allocations: 286.2 kB / 0.73 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.5921, allocations: 409.7 kB / 0.7304 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.5939, allocations: 0.7148 MB / 0.7311 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.595, allocations: 1.255 MB / 0.7323 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009735/0.596, allocations: 0.7895 MB / 0.7331 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.5965, allocations: 430 kB / 0.7335 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.597, allocations: 485.4 kB / 0.734 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.5971, allocations: 60 kB / 0.734 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007774/0.5979, allocations: 403.6 kB / 0.7344 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.5981, allocations: 246.9 kB / 0.7346 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004175/0.5986, allocations: 0.5358 MB / 0.7352 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.5998, allocations: 1.302 MB / 0.7364 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5998, allocations: 0 / 0.7364 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5998, allocations: 4 kB / 0.7364 GB, free: 1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.5998, allocations: 3.938 kB / 0.7365 GB, free: 0.9961 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002282/0.6021, allocations: 1.567 MB / 0.738 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.6022, allocations: 12.03 kB / 0.738 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000892/0.6031, allocations: 199.2 kB / 0.7382 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.6041, allocations: 0.8634 MB / 0.739 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.6042, allocations: 66 kB / 0.7391 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.992e-05/0.6043, allocations: 92 kB / 0.7392 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.6058, allocations: 0.9691 MB / 0.7401 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.6059, allocations: 4 kB / 0.7401 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/0.6059, allocations: 36 kB / 0.7402 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.606, allocations: 27.98 kB / 0.7402 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.6076, allocations: 1.112 MB / 0.7413 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003708/0.6113, allocations: 2.702 MB / 0.7439 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.6125, allocations: 0.7064 MB / 0.7446 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/0.6129, allocations: 266.4 kB / 0.7449 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.115e-05/0.613, allocations: 28.59 kB / 0.7449 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007378/0.6138, allocations: 417.8 kB / 0.7453 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 1.994e-06/0.6138, allocations: 0 / 0.7453 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.002674/0.6165, allocations: 1.081 MB / 0.7463 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.6166, allocations: 188.5 kB / 0.7465 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008014/0.6174, allocations: 0.7553 MB / 0.7473 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.6174, allocations: 41.7 kB / 0.7473 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.6177, allocations: 491.9 kB / 0.7478 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.6179, allocations: 236.6 kB / 0.748 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.6181, allocations: 146.2 kB / 0.7481 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6182, allocations: 330 kB / 0.7484 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.6187, allocations: 237.2 kB / 0.7487 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.6192, allocations: 315.3 kB / 0.749 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009035/0.6201, allocations: 0.539 MB / 0.7495 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.6201, allocations: 4 kB / 0.7495 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00164/0.6218, allocations: 0.782 MB / 0.7503 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6218, allocations: 4 kB / 0.7503 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6218, allocations: 8.094 kB / 0.7503 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000601/0.6224, allocations: 80.77 kB / 0.7504 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.623, allocations: 139.8 kB / 0.7505 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.6248, allocations: 1.532 MB / 0.752 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.6254, allocations: 83.39 kB / 0.7521 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/0.6255, allocations: 31.97 kB / 0.7521 GB, free: 472 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003992/0.6259, allocations: 279.2 kB / 0.7524 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.626, allocations: 90.88 kB / 0.7524 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.6281, allocations: 0.984 MB / 0.7534 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.6281, allocations: 8 kB / 0.7534 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.6281, allocations: 0 / 0.7534 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.6281, allocations: 3.984 kB / 0.7534 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009085/0.6291, allocations: 0.9308 MB / 0.7543 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.6291, allocations: 7.938 kB / 0.7543 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.6296, allocations: 135.8 kB / 0.7545 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004851/0.6301, allocations: 84.77 kB / 0.7545 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.6301, allocations: 23.98 kB / 0.7546 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.6318, allocations: 1.548 MB / 0.7561 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6318, allocations: 0 / 0.7561 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.6334, allocations: 0.849 MB / 0.7569 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.6338, allocations: 271.7 kB / 0.7572 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.6339, allocations: 15.94 kB / 0.7572 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004956/0.6344, allocations: 47.95 kB / 0.7572 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.6345, allocations: 60.91 kB / 0.7573 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.6346, allocations: 27.98 kB / 0.7573 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005909/0.6352, allocations: 0.5263 MB / 0.7578 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6352, allocations: 4 kB / 0.7578 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007326/0.6359, allocations: 315 kB / 0.7581 GB, free: 10.03 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/0.6371, allocations: 0.5916 MB / 0.7587 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.6385, allocations: 0.7434 MB / 0.7594 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6385, allocations: 0 / 0.7594 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007544/0.6392, allocations: 480.3 kB / 0.7599 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.6406, allocations: 400.4 kB / 0.7603 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.6444, allocations: 2.437 MB / 0.7627 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.645, allocations: 1.075 MB / 0.7637 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.6453, allocations: 111.4 kB / 0.7638 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.6453, allocations: 4 kB / 0.7638 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.02269/0.668, allocations: 20.77 MB / 0.7841 GB, free: 15.62 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.o] Error 1