Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.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.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005506/0.005507, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.00138/0.00138, allocations: 192 kB / 16.79 MB, free: 5.809 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.297/1.297, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7162/0.7162, allocations: 132.2 MB / 422.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 55.45 kB / 0.5017 GB, free: 4.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.4907, allocations: 80.2 MB / 0.58 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1925/0.6832, allocations: 164.6 MB / 0.7408 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02096/0.7042, allocations: 17.15 MB / 0.7575 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.7061, allocations: 31.81 kB / 0.7576 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.7078, allocations: 449.3 kB / 0.758 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005068/0.7129, allocations: 1.457 MB / 0.7594 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.7164, allocations: 1.24 MB / 0.7606 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003375/0.7197, allocations: 2.763 MB / 0.7633 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.7222, allocations: 1.821 MB / 0.7651 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004979/0.7272, allocations: 1.199 MB / 0.7663 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.7286, allocations: 1.011 MB / 0.7673 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.7289, allocations: 120 kB / 0.7674 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003705/0.7326, allocations: 1.575 MB / 0.7689 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.7333, allocations: 0.6658 MB / 0.7696 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.7346, allocations: 1.037 MB / 0.7706 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003146/0.7378, allocations: 2.503 MB / 0.773 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.7378, allocations: 0 / 0.773 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7378, allocations: 0 / 0.773 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.931e-05/0.7378, allocations: 0 / 0.773 GB, free: 11.49 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004431/0.7423, allocations: 2.622 MB / 0.7756 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.7423, allocations: 12.03 kB / 0.7756 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/0.746, allocations: 0.5396 MB / 0.7761 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.7482, allocations: 1.563 MB / 0.7777 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.509e-05/0.7483, allocations: 127.3 kB / 0.7778 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.7485, allocations: 163.9 kB / 0.7779 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/0.7517, allocations: 1.876 MB / 0.7798 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.7518, allocations: 0 / 0.7798 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.7519, allocations: 72 kB / 0.7798 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.752, allocations: 43.98 kB / 0.7799 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003383/0.7554, allocations: 2.038 MB / 0.7819 GB, free: 2.262 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008654/0.764, allocations: 5.55 MB / 0.7873 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/0.7672, allocations: 1.996 MB / 0.7892 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.7683, allocations: 0.7342 MB / 0.79 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006296/0.769, allocations: 433.7 kB / 0.7904 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/0.7706, allocations: 0.9271 MB / 0.7913 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 3.646e-06/0.7707, allocations: 0 / 0.7913 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.006426/0.7771, allocations: 2.821 MB / 0.794 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001838/0.7773, allocations: 201.2 kB / 0.7942 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.7797, allocations: 1.738 MB / 0.7959 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.7799, allocations: 57.7 kB / 0.796 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008251/0.7807, allocations: 0.8073 MB / 0.7968 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004817/0.7812, allocations: 461.2 kB / 0.7972 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004282/0.7816, allocations: 246.7 kB / 0.7974 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.7818, allocations: 353.9 kB / 0.7978 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.7828, allocations: 0.5647 MB / 0.7983 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.7841, allocations: 0.7584 MB / 0.7991 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/0.7865, allocations: 1.282 MB / 0.8003 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7865, allocations: 0 / 0.8003 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003816/0.7903, allocations: 1.725 MB / 0.802 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.7903, allocations: 4 kB / 0.802 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.7903, allocations: 0 / 0.802 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.7915, allocations: 228.1 kB / 0.8022 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.793, allocations: 315.6 kB / 0.8025 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006086/0.7991, allocations: 6.795 MB / 0.8092 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.8007, allocations: 164.9 kB / 0.8093 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.8009, allocations: 59.95 kB / 0.8094 GB, free: 4.68 MB / 0.6387 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 (140): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009374/0.8018, allocations: 477.3 kB / 0.8098 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.8021, allocations: 165.9 kB / 0.81 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/0.8063, allocations: 2.022 MB / 0.812 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.8064, allocations: 15.94 kB / 0.812 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8064, allocations: 4 kB / 0.812 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.8064, allocations: 7.969 kB / 0.812 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3557/1.162, allocations: 3.79 MB / 0.8157 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.162, allocations: 5.641 kB / 0.8157 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/1.164, allocations: 306.8 kB / 0.816 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009987/1.165, allocations: 219.2 kB / 0.8162 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/1.165, allocations: 38.77 kB / 0.8162 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004581/1.169, allocations: 6.823 MB / 0.8229 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.169, allocations: 1.406 kB / 0.8229 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004421/1.174, allocations: 1.888 MB / 0.8247 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009458/1.175, allocations: 459.6 kB / 0.8252 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/1.175, allocations: 26.7 kB / 0.8252 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.176, allocations: 120.6 kB / 0.8253 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/1.177, allocations: 100.2 kB / 0.8254 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/1.177, allocations: 64.58 kB / 0.8255 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002216/1.179, allocations: 1.25 MB / 0.8267 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.179, allocations: 3.969 kB / 0.8267 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002098/1.181, allocations: 0.6296 MB / 0.8273 GB, free: 208.4 MB / 0.6387 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00177/1.183, allocations: 0.7381 MB / 0.828 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003431/1.186, allocations: 2.01 MB / 0.83 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.186, allocations: 6.906 kB / 0.83 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.188, allocations: 1.366 MB / 0.8313 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.191, allocations: 496.8 kB / 0.8318 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00742/1.198, allocations: 4.442 MB / 0.8362 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.199, allocations: 1.46 MB / 0.8376 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007879/1.2, allocations: 187.9 kB / 0.8378 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/1.2, allocations: 0 / 0.8378 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.06113/1.261, allocations: 64.07 MB / 0.9003 GB, free: 147.1 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.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.Fluid.Sources.Examples.Outside_CpDataCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpDataCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpDataCalcHelperMain.o] Error 1