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.0007669/0.0007668, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008292/0.0008292, allocations: 185.3 kB / 16.93 MB, free: 6.773 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.31/1.31, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7218/0.7218, allocations: 132.3 MB / 424.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 8 kB / 0.5046 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3971, allocations: 81.57 MB / 0.5843 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004575/0.4017, allocations: 4.437 MB / 0.5886 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1599/0.5617, allocations: 146.8 MB / 0.732 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.5629, allocations: 19.88 kB / 0.732 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.5636, allocations: 278.2 kB / 0.7323 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.5651, allocations: 412.7 kB / 0.7327 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.5668, allocations: 0.7195 MB / 0.7334 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.568, allocations: 1.258 MB / 0.7346 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009738/0.569, allocations: 0.7739 MB / 0.7354 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004267/0.5694, allocations: 338.1 kB / 0.7357 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.5698, allocations: 389.5 kB / 0.7361 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.689e-05/0.5699, allocations: 24 kB / 0.7361 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006973/0.5706, allocations: 363.6 kB / 0.7364 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.5708, allocations: 187 kB / 0.7366 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.5712, allocations: 498.3 kB / 0.7371 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.5723, allocations: 1.27 MB / 0.7383 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5723, allocations: 0 / 0.7383 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5723, allocations: 0 / 0.7383 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.5723, allocations: 0 / 0.7383 GB, free: 2.125 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.001903/0.5742, allocations: 1.329 MB / 0.7396 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.5743, allocations: 8.031 kB / 0.7396 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008565/0.5751, allocations: 219.1 kB / 0.7398 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.5762, allocations: 0.8634 MB / 0.7407 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.5763, allocations: 70 kB / 0.7407 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.5764, allocations: 88 kB / 0.7408 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.5779, allocations: 0.9731 MB / 0.7418 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.5779, allocations: 0 / 0.7418 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.101e-05/0.578, allocations: 40 kB / 0.7418 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.578, allocations: 20 kB / 0.7418 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.5797, allocations: 1.132 MB / 0.7429 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003709/0.5834, allocations: 2.727 MB / 0.7456 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.5846, allocations: 0.7098 MB / 0.7463 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.585, allocations: 270.4 kB / 0.7466 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.5851, allocations: 36.52 kB / 0.7466 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006908/0.5858, allocations: 425.7 kB / 0.747 GB, free: 9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 1.873e-06/0.5858, allocations: 0 / 0.747 GB, free: 9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.002627/0.5884, allocations: 1.089 MB / 0.7481 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.318e-05/0.5885, allocations: 192.5 kB / 0.7482 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.5894, allocations: 0.7514 MB / 0.749 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.5895, allocations: 45.7 kB / 0.749 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.5898, allocations: 492 kB / 0.7495 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.59, allocations: 232.7 kB / 0.7497 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.5901, allocations: 61.62 kB / 0.7498 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.5902, allocations: 334 kB / 0.7501 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.5906, allocations: 237.2 kB / 0.7503 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.5912, allocations: 327.3 kB / 0.7506 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009425/0.5921, allocations: 0.5469 MB / 0.7512 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5921, allocations: 3.938 kB / 0.7512 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001629/0.5938, allocations: 0.782 MB / 0.7519 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5938, allocations: 4.094 kB / 0.7519 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5938, allocations: 8 kB / 0.7519 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005576/0.5944, allocations: 80.77 kB / 0.752 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.5949, allocations: 143.8 kB / 0.7522 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.5969, allocations: 1.533 MB / 0.7536 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.5974, allocations: 91.42 kB / 0.7537 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.5975, allocations: 35.97 kB / 0.7538 GB, free: 1.781 MB / 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.0004288/0.598, allocations: 271.2 kB / 0.754 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.5981, allocations: 98.78 kB / 0.7541 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.6001, allocations: 0.9841 MB / 0.7551 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.6001, allocations: 8 kB / 0.7551 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6001, allocations: 4 kB / 0.7551 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.6001, allocations: 3.984 kB / 0.7551 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.6012, allocations: 0.9385 MB / 0.756 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6012, allocations: 0 / 0.756 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.6017, allocations: 143.8 kB / 0.7562 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005026/0.6022, allocations: 84.77 kB / 0.7562 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.6023, allocations: 19.98 kB / 0.7563 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.604, allocations: 1.556 MB / 0.7578 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.604, allocations: 0 / 0.7578 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.6056, allocations: 0.849 MB / 0.7586 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/0.606, allocations: 287.5 kB / 0.7589 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.561e-05/0.6061, allocations: 19.94 kB / 0.7589 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/0.6066, allocations: 73.56 kB / 0.759 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.6067, allocations: 52.92 kB / 0.759 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-05/0.6068, allocations: 31.98 kB / 0.759 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006337/0.6074, allocations: 0.5263 MB / 0.7596 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6074, allocations: 4 kB / 0.7596 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008458/0.6083, allocations: 306.9 kB / 0.7599 GB, free: 11.3 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.001444/0.6097, allocations: 0.5933 MB / 0.7604 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.6112, allocations: 0.7396 MB / 0.7612 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6113, allocations: 4 kB / 0.7612 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008126/0.6121, allocations: 496.2 kB / 0.7616 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.6137, allocations: 403.3 kB / 0.762 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.6177, allocations: 2.494 MB / 0.7645 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.6183, allocations: 1.075 MB / 0.7655 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.6186, allocations: 115.4 kB / 0.7656 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of SimCode: time 6.02e-07/0.6186, allocations: 3.938 kB / 0.7656 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of Templates: time 0.02525/0.6439, allocations: 20.6 MB / 0.7857 GB, free: 0.9883 MB / 0.6075 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