Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001585, allocations: 97.52 kB / 15.69 MB, free: 488 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.00193/0.00193, allocations: 174.3 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.444/2.444, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.289/1.289, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000617/0.0006172, allocations: 11.98 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2796, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002991/0.2826, allocations: 1.169 MB / 0.5579 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.2852, allocations: 1.023 MB / 0.5589 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.2853, allocations: 0 / 0.5589 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.2856, allocations: 15.86 kB / 0.5589 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.2859, allocations: 35.89 kB / 0.5589 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.2863, allocations: 51.38 kB / 0.559 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.2865, allocations: 95.73 kB / 0.5591 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.2868, allocations: 49.3 kB / 0.5591 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.287, allocations: 63.81 kB / 0.5592 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.2872, allocations: 39.78 kB / 0.5592 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.2873, allocations: 4 kB / 0.5592 GB, free: 9.125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.2874, allocations: 12 kB / 0.5592 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.2875, allocations: 43.81 kB / 0.5593 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.167e-05/0.2876, allocations: 45.64 kB / 0.5593 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.2879, allocations: 136 kB / 0.5594 GB, free: 8.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.288, allocations: 7.938 kB / 0.5594 GB, free: 8.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.288, allocations: 0 / 0.5594 GB, free: 8.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.288, allocations: 0 / 0.5594 GB, free: 8.879 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001031/0.289, allocations: 462.6 kB / 0.5599 GB, free: 8.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.928e-05/0.2891, allocations: 8.031 kB / 0.5599 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.2892, allocations: 46.55 kB / 0.5599 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.2893, allocations: 19.81 kB / 0.56 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.2899, allocations: 242.7 kB / 0.5602 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000258/0.2902, allocations: 122.8 kB / 0.5603 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.2902, allocations: 7.984 kB / 0.5603 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/0.2908, allocations: 173.5 kB / 0.5605 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.2908, allocations: 0 / 0.5605 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.2909, allocations: 4 kB / 0.5605 GB, free: 7.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-05/0.2909, allocations: 11.98 kB / 0.5605 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.2911, allocations: 39.92 kB / 0.5605 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.293, allocations: 480.4 kB / 0.561 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.2931, allocations: 34.52 kB / 0.561 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.2932, allocations: 12.12 kB / 0.561 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.2932, allocations: 34.56 kB / 0.5611 GB, free: 7.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.913e-06/0.2933, allocations: 0 / 0.5611 GB, free: 7.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004767/0.2937, allocations: 97.48 kB / 0.5612 GB, free: 6.918 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.2938, allocations: 55.41 kB / 0.5612 GB, free: 6.852 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.2942, allocations: 220.5 kB / 0.5614 GB, free: 6.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.2943, allocations: 29.7 kB / 0.5614 GB, free: 6.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.2944, allocations: 116 kB / 0.5616 GB, free: 6.473 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.2945, allocations: 31.55 kB / 0.5616 GB, free: 6.441 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.2945, allocations: 4 kB / 0.5616 GB, free: 6.438 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2947, allocations: 326.8 kB / 0.5619 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.824e-05/0.2948, allocations: 35.86 kB / 0.5619 GB, free: 6.074 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.295, allocations: 98.28 kB / 0.562 GB, free: 5.941 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.2952, allocations: 47.92 kB / 0.5621 GB, free: 5.895 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2952, allocations: 0 / 0.5621 GB, free: 5.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005021/0.2957, allocations: 157.3 kB / 0.5622 GB, free: 5.734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.2958, allocations: 6.188 kB / 0.5622 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.2958, allocations: 7.984 kB / 0.5622 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.2958, allocations: 4 kB / 0.5622 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.2961, allocations: 20 kB / 0.5623 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.2961, allocations: 11.92 kB / 0.5623 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.2962, allocations: 7.938 kB / 0.5623 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.2963, allocations: 8 kB / 0.5623 GB, free: 5.672 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002254/0.2965, allocations: 150 kB / 0.5624 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.2966, allocations: 15.81 kB / 0.5624 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.297, allocations: 118.8 kB / 0.5626 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.2971, allocations: 0 / 0.5626 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2971, allocations: 0 / 0.5626 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.2971, allocations: 3.984 kB / 0.5626 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.2975, allocations: 233.5 kB / 0.5628 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2976, allocations: 0 / 0.5628 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.2977, allocations: 15.98 kB / 0.5628 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.2977, allocations: 4 kB / 0.5628 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2977, allocations: 4 kB / 0.5628 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2977, allocations: 0 / 0.5628 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2978, allocations: 0 / 0.5628 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.2981, allocations: 195.2 kB / 0.563 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/0.2982, allocations: 96.84 kB / 0.5631 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.2983, allocations: 3.938 kB / 0.5631 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.2988, allocations: 35.98 kB / 0.5631 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.2988, allocations: 7.984 kB / 0.5631 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.2989, allocations: 11.98 kB / 0.5631 GB, free: 4.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002637/0.2992, allocations: 157.5 kB / 0.5633 GB, free: 4.543 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2992, allocations: 0 / 0.5633 GB, free: 4.543 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000583/0.2998, allocations: 35.91 kB / 0.5633 GB, free: 4.508 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000973/0.3008, allocations: 0.7514 MB / 0.5641 GB, free: 3.738 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.3011, allocations: 71.89 kB / 0.5641 GB, free: 3.668 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3011, allocations: 0 / 0.5641 GB, free: 3.668 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.608e-05/0.3012, allocations: 23.94 kB / 0.5642 GB, free: 3.645 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.3016, allocations: 15.98 kB / 0.5642 GB, free: 3.629 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.3041, allocations: 2.253 MB / 0.5664 GB, free: 1.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.3046, allocations: 0.7355 MB / 0.5671 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.3049, allocations: 56.72 kB / 0.5671 GB, free: 468 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.305, allocations: 51.36 kB / 0.5672 GB, free: 416 kB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.305, allocations: 0 / 0.5672 GB, free: 416 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.3426, allocations: 3.86 MB / 0.571 GB, free: 12.71 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/0.343, allocations: 183 kB / 0.5711 GB, free: 12.47 MB / 446.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.o IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.c In file included from IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.c:7: In file included from ./IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_functions.o IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_functions.c In file included from IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_functions.c:2: In file included from ./IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_functions.c:7: In file included from ./IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources/WeeklySchedule.c:20:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_functions.o] Error 1