Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009606/0.0009606, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001031/0.001032, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9966/0.9966, allocations: 143.3 MB / 434.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003202, allocations: 8 kB / 0.5158 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 83.41 MB / 0.5973 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.3847/0.5245, allocations: 140.1 MB / 0.7341 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01951/0.544, allocations: 14.12 MB / 0.7479 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.5455, allocations: 23.81 kB / 0.7479 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.5469, allocations: 338.7 kB / 0.7482 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004505/0.5514, allocations: 1.297 MB / 0.7495 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.5549, allocations: 1.084 MB / 0.7505 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002705/0.5576, allocations: 1.515 MB / 0.752 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/0.56, allocations: 1.468 MB / 0.7535 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.5618, allocations: 0.8873 MB / 0.7543 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.5629, allocations: 0.6697 MB / 0.755 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.5632, allocations: 44 kB / 0.755 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.5658, allocations: 0.979 MB / 0.756 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006314/0.5665, allocations: 0.549 MB / 0.7565 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005478/0.567, allocations: 396.5 kB / 0.7569 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00344/0.5705, allocations: 2.688 MB / 0.7595 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.5705, allocations: 0 / 0.7595 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.929e-06/0.5705, allocations: 4 kB / 0.7595 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.294e-05/0.5706, allocations: 3.938 kB / 0.7595 GB, free: 5.973 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004591/0.5752, allocations: 2.325 MB / 0.7618 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.5752, allocations: 8.031 kB / 0.7618 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/0.5791, allocations: 0.5706 MB / 0.7624 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004471/0.5836, allocations: 3.297 MB / 0.7656 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.5837, allocations: 131.3 kB / 0.7657 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/0.5841, allocations: 164 kB / 0.7659 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00397/0.588, allocations: 1.845 MB / 0.7677 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.5881, allocations: 0 / 0.7677 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.5883, allocations: 76 kB / 0.7677 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.5884, allocations: 36 kB / 0.7678 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003828/0.5922, allocations: 2.046 MB / 0.7698 GB, free: 11.3 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.009466/0.6017, allocations: 6.107 MB / 0.7757 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.6048, allocations: 1.736 MB / 0.7774 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.605, allocations: 73.25 kB / 0.7775 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/0.6066, allocations: 0.9232 MB / 0.7784 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 3.567e-06/0.6066, allocations: 0 / 0.7784 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006207/0.6128, allocations: 2.835 MB / 0.7812 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/0.6129, allocations: 197.2 kB / 0.7814 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004505/0.6174, allocations: 3.999 MB / 0.7853 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.6176, allocations: 57.7 kB / 0.7853 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00074/0.6184, allocations: 0.8667 MB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/0.6188, allocations: 457.2 kB / 0.7866 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.6189, allocations: 28 kB / 0.7866 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.619, allocations: 345.9 kB / 0.787 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.6201, allocations: 0.5334 MB / 0.7875 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.6213, allocations: 0.7468 MB / 0.7882 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.6224, allocations: 0.6115 MB / 0.7888 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6224, allocations: 4 kB / 0.7888 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003528/0.626, allocations: 1.678 MB / 0.7904 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.626, allocations: 8 kB / 0.7904 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.626, allocations: 0 / 0.7904 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.6271, allocations: 220.1 kB / 0.7907 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.6285, allocations: 315.6 kB / 0.791 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005685/0.6342, allocations: 6.844 MB / 0.7976 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.6358, allocations: 169.7 kB / 0.7978 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.6359, allocations: 47.97 kB / 0.7979 GB, free: 13.32 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009903/0.6369, allocations: 470.6 kB / 0.7983 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/0.6373, allocations: 185.7 kB / 0.7985 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004321/0.6417, allocations: 2.043 MB / 0.8005 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.6417, allocations: 12 kB / 0.8005 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.6417, allocations: 4 kB / 0.8005 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.6417, allocations: 3.984 kB / 0.8005 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006433/0.6482, allocations: 3.767 MB / 0.8042 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.6482, allocations: 8.062 kB / 0.8042 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.6497, allocations: 323.5 kB / 0.8045 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009702/0.6507, allocations: 220.1 kB / 0.8047 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.6508, allocations: 35.98 kB / 0.8047 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00558/0.6564, allocations: 6.883 MB / 0.8115 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6564, allocations: 4 kB / 0.8115 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/0.6605, allocations: 2.09 MB / 0.8135 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.6616, allocations: 0.506 MB / 0.814 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/0.662, allocations: 28 kB / 0.814 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.6634, allocations: 132.5 kB / 0.8141 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.6636, allocations: 113 kB / 0.8143 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/0.6638, allocations: 67.95 kB / 0.8143 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003378/0.6672, allocations: 3.076 MB / 0.8173 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6672, allocations: 0 / 0.8173 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001876/0.6691, allocations: 0.643 MB / 0.8179 GB, free: 7.789 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001751/0.6708, allocations: 0.7477 MB / 0.8187 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00329/0.6741, allocations: 1.958 MB / 0.8206 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.6741, allocations: 0.5625 kB / 0.8206 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.6762, allocations: 1.38 MB / 0.8219 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.6784, allocations: 497.8 kB / 0.8224 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008073/0.6865, allocations: 4.484 MB / 0.8268 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.6879, allocations: 1.548 MB / 0.8283 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00213/0.6901, allocations: 0.5202 MB / 0.8288 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005635/0.6907, allocations: 183.3 kB / 0.829 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.6907, allocations: 0 / 0.829 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.2914/0.9821, allocations: 30.23 MB / 0.8585 GB, free: 202.4 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside_CpData -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside_CpData -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_includes.h:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpData_functions.o] Error 1