Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0008847/0.0008845, allocations: 99.62 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.001571/0.001571, allocations: 177.3 kB / 15.95 MB, free: 216 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.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.044/1.044, allocations: 143.3 MB / 434.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003317, allocations: 8 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1626, allocations: 83.41 MB / 0.5973 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004932/0.1676, allocations: 4.117 MB / 0.6013 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4117/0.5793, allocations: 127.7 MB / 0.726 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008954/0.5802, allocations: 20.41 kB / 0.726 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004849/0.5807, allocations: 90.28 kB / 0.7261 GB, free: 2.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.5826, allocations: 0.5214 MB / 0.7266 GB, free: 2.117 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.5846, allocations: 0.6212 MB / 0.7272 GB, free: 1.805 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001922/0.5865, allocations: 0.97 MB / 0.7282 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007925/0.5873, allocations: 0.5773 MB / 0.7288 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005321/0.5879, allocations: 329 kB / 0.7291 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.5883, allocations: 334.9 kB / 0.7294 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.107e-05/0.5884, allocations: 27.34 kB / 0.7294 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008259/0.5892, allocations: 311.4 kB / 0.7297 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.5894, allocations: 185.1 kB / 0.7299 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.5896, allocations: 216.7 kB / 0.7301 GB, free: 412 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.5914, allocations: 1.359 MB / 0.7314 GB, free: 80 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.5914, allocations: 0 / 0.7314 GB, free: 80 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5914, allocations: 1.125 kB / 0.7314 GB, free: 80 kB / 0.545 GB Notification: Performance of Transformations before backend: time 2.614e-05/0.5914, allocations: 0 / 0.7314 GB, free: 80 kB / 0.545 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.002458/0.5939, allocations: 1.348 MB / 0.7327 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5939, allocations: 13.94 kB / 0.7328 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009802/0.5949, allocations: 212.5 kB / 0.733 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.5963, allocations: 0.829 MB / 0.7338 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/0.5963, allocations: 69.16 kB / 0.7338 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.5965, allocations: 92.5 kB / 0.7339 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.5982, allocations: 0.9595 MB / 0.7349 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.5982, allocations: 0 / 0.7349 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.989e-05/0.5983, allocations: 41.88 kB / 0.7349 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.5983, allocations: 27.94 kB / 0.7349 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.6003, allocations: 1.118 MB / 0.736 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004294/0.6046, allocations: 2.727 MB / 0.7387 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.6058, allocations: 0.7049 MB / 0.7394 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.299e-05/0.6059, allocations: 35.31 kB / 0.7394 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007882/0.6067, allocations: 411.6 kB / 0.7398 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 2.184e-06/0.6067, allocations: 0 / 0.7398 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.002853/0.6096, allocations: 1.086 MB / 0.7409 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.6097, allocations: 189.5 kB / 0.741 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009421/0.6106, allocations: 0.7475 MB / 0.7418 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.6107, allocations: 37.7 kB / 0.7418 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.6111, allocations: 0.4921 MB / 0.7423 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.6113, allocations: 220.8 kB / 0.7425 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.6113, allocations: 12 kB / 0.7425 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6114, allocations: 337.9 kB / 0.7428 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.6119, allocations: 213.2 kB / 0.743 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.6124, allocations: 318.8 kB / 0.7433 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.6129, allocations: 259.1 kB / 0.7436 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6129, allocations: 8 kB / 0.7436 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001681/0.6146, allocations: 0.7273 MB / 0.7443 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6146, allocations: 8 kB / 0.7443 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.6147, allocations: 0 / 0.7443 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/0.6153, allocations: 84.84 kB / 0.7444 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/0.6159, allocations: 135.8 kB / 0.7445 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.6179, allocations: 1.544 MB / 0.746 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.6185, allocations: 81.47 kB / 0.7461 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.6185, allocations: 28.61 kB / 0.7461 GB, free: 2.984 MB / 0.5606 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 (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004377/0.619, allocations: 269.7 kB / 0.7464 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.6191, allocations: 98.78 kB / 0.7465 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.6213, allocations: 0.9945 MB / 0.7475 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.6213, allocations: 8 kB / 0.7475 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.6214, allocations: 0 / 0.7475 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.6214, allocations: 3.984 kB / 0.7475 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.6225, allocations: 0.946 MB / 0.7484 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6225, allocations: 4 kB / 0.7484 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.6231, allocations: 143.7 kB / 0.7485 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/0.6236, allocations: 84.78 kB / 0.7486 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.6237, allocations: 19.98 kB / 0.7486 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.6255, allocations: 1.568 MB / 0.7502 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6255, allocations: 4.062 kB / 0.7502 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.6273, allocations: 0.8486 MB / 0.751 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004439/0.6277, allocations: 287.8 kB / 0.7513 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6279, allocations: 16 kB / 0.7513 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.6284, allocations: 62.59 kB / 0.7513 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.6286, allocations: 64.89 kB / 0.7514 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/0.6286, allocations: 31.92 kB / 0.7514 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006739/0.6293, allocations: 0.5263 MB / 0.7519 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6293, allocations: 0 / 0.7519 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000856/0.6302, allocations: 303.1 kB / 0.7522 GB, free: 12.5 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001232/0.6314, allocations: 0.5882 MB / 0.7528 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.6329, allocations: 0.7159 MB / 0.7535 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.6329, allocations: 4 kB / 0.7535 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008666/0.6338, allocations: 476.3 kB / 0.754 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.6353, allocations: 414.1 kB / 0.7544 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.6399, allocations: 2.349 MB / 0.7567 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.6406, allocations: 1.105 MB / 0.7577 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009947/0.6416, allocations: 267.1 kB / 0.758 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.6419, allocations: 107.4 kB / 0.7581 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.6419, allocations: 0 / 0.7581 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of Templates: time 0.02665/0.6685, allocations: 14.91 MB / 0.7727 GB, free: 7.879 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.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_Utilities_IO_SignalExchange_Examples_WeatherStation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.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_Utilities_IO_SignalExchange_Examples_WeatherStation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation_functions.o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation_functions.o] Error 1