Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008702/0.0008702, 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.001146/0.001146, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.066/1.066, allocations: 143.2 MB / 435.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 11.98 kB / 0.517 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 83.41 MB / 0.5985 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5191/0.7161, allocations: 149.5 MB / 0.7445 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.732, allocations: 10.33 MB / 0.7546 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.7332, allocations: 19.5 kB / 0.7546 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.7343, allocations: 211.2 kB / 0.7548 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003181/0.7375, allocations: 0.7557 MB / 0.7555 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.7406, allocations: 0.9098 MB / 0.7564 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002184/0.7428, allocations: 1.503 MB / 0.7579 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.7446, allocations: 1.004 MB / 0.7588 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.7469, allocations: 496.3 kB / 0.7593 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008711/0.7477, allocations: 449.6 kB / 0.7597 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.7479, allocations: 24 kB / 0.7598 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.7502, allocations: 0.9282 MB / 0.7607 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003198/0.7506, allocations: 242.9 kB / 0.7609 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006781/0.7513, allocations: 0.4986 MB / 0.7614 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.7537, allocations: 1.551 MB / 0.7629 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7537, allocations: 0 / 0.7629 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7537, allocations: 0 / 0.7629 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.37e-05/0.7538, allocations: 4 kB / 0.7629 GB, free: 3.609 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002965/0.7567, allocations: 1.369 MB / 0.7643 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.7568, allocations: 8.031 kB / 0.7643 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.7585, allocations: 277.3 kB / 0.7645 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.7598, allocations: 0.8318 MB / 0.7653 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.76, allocations: 81.92 kB / 0.7654 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.7601, allocations: 88 kB / 0.7655 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.7622, allocations: 1.05 MB / 0.7665 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.7623, allocations: 7.938 kB / 0.7665 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.7624, allocations: 47.98 kB / 0.7666 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.7624, allocations: 24 kB / 0.7666 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.7647, allocations: 1.288 MB / 0.7679 GB, free: 14.42 MB / 0.5919 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.005507/0.7702, allocations: 3.103 MB / 0.7709 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.7724, allocations: 1.025 MB / 0.7719 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007401/0.7732, allocations: 413.1 kB / 0.7723 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.7735, allocations: 134.1 kB / 0.7724 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.7746, allocations: 0.5558 MB / 0.773 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=86): time 2.614e-06/0.7746, allocations: 0 / 0.773 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86): time 0.00412/0.7787, allocations: 1.534 MB / 0.7744 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.7788, allocations: 196.9 kB / 0.7746 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.78, allocations: 0.7624 MB / 0.7754 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.547e-05/0.7801, allocations: 41.7 kB / 0.7754 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.7806, allocations: 444.4 kB / 0.7758 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.7809, allocations: 283.8 kB / 0.7761 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.7811, allocations: 73.67 kB / 0.7762 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7812, allocations: 334 kB / 0.7765 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006908/0.7819, allocations: 337.8 kB / 0.7768 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008223/0.7827, allocations: 445.6 kB / 0.7773 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.7844, allocations: 0.7569 MB / 0.778 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7844, allocations: 0 / 0.778 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002501/0.787, allocations: 1.021 MB / 0.779 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.787, allocations: 9.562 kB / 0.779 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.787, allocations: 0 / 0.779 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007561/0.7878, allocations: 121.5 kB / 0.7791 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009286/0.7887, allocations: 203.7 kB / 0.7793 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/0.7922, allocations: 2.856 MB / 0.7821 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000951/0.7932, allocations: 113.9 kB / 0.7822 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.7933, allocations: 39.97 kB / 0.7822 GB, free: 15.06 MB / 0.6075 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006201/0.7939, allocations: 289.6 kB / 0.7825 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.7941, allocations: 94.88 kB / 0.7826 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/0.7972, allocations: 1.247 MB / 0.7838 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.7972, allocations: 12 kB / 0.7838 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7972, allocations: 0 / 0.7838 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.7972, allocations: 3.984 kB / 0.7838 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/0.8015, allocations: 2.261 MB / 0.7861 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.8016, allocations: 0 / 0.7861 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008555/0.8024, allocations: 191.7 kB / 0.7862 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000662/0.8031, allocations: 117.6 kB / 0.7863 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/0.8032, allocations: 27.97 kB / 0.7864 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003502/0.8067, allocations: 2.883 MB / 0.7892 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8067, allocations: 3.984 kB / 0.7892 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.8095, allocations: 1.157 MB / 0.7903 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/0.8101, allocations: 307.5 kB / 0.7906 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.8104, allocations: 24 kB / 0.7906 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/0.8112, allocations: 90.89 kB / 0.7907 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.8114, allocations: 72.89 kB / 0.7908 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.969e-05/0.8115, allocations: 35.98 kB / 0.7908 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007689/0.8122, allocations: 0.542 MB / 0.7914 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8122, allocations: 0 / 0.7914 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001307/0.8136, allocations: 415.2 kB / 0.7918 GB, free: 4.922 MB / 0.6075 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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001876/0.8154, allocations: 0.7122 MB / 0.7924 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002287/0.8177, allocations: 1.082 MB / 0.7935 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8178, allocations: 0 / 0.7935 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.8192, allocations: 0.7098 MB / 0.7942 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.8209, allocations: 327.4 kB / 0.7945 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.8264, allocations: 2.573 MB / 0.797 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008506/0.8273, allocations: 1.071 MB / 0.7981 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.8277, allocations: 123.4 kB / 0.7982 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of SimCode: time 1.022e-06/0.8277, allocations: 0 / 0.7982 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of Templates: time 0.03887/0.8666, allocations: 25.59 MB / 0.8232 GB, free: 4.91 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.makefile clang++ -std=c++14 -fopenmp=libomp -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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_SpecificationFunctions.cpp:8:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.o] Error 1