Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.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.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_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.001355/0.001355, allocations: 96.19 kB / 15.68 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.001909/0.001909, allocations: 175.4 kB / 16.57 MB, free: 6.387 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.244/2.244, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.081/1.081, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004669, allocations: 8 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2444, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002357/0.2468, allocations: 1.056 MB / 0.5577 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001914/0.247, allocations: 43.84 kB / 0.5578 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.2471, allocations: 0 / 0.5578 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.2473, allocations: 3.938 kB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.2474, allocations: 15.92 kB / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.107e-06/0.2475, allocations: 0 / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.308e-05/0.2475, allocations: 7.984 kB / 0.5578 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.315e-05/0.2476, allocations: 4 kB / 0.5578 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.2477, allocations: 0 / 0.5578 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.765e-05/0.2478, allocations: 19.91 kB / 0.5578 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2478, allocations: 0 / 0.5578 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.357e-05/0.2478, allocations: 4 kB / 0.5578 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.2479, allocations: 8 kB / 0.5579 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.2479, allocations: 29.64 kB / 0.5579 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.2481, allocations: 15.98 kB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2481, allocations: 0 / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2481, allocations: 0 / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2481, allocations: 0 / 0.5579 GB, free: 10.48 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004531/0.2486, allocations: 331.5 kB / 0.5582 GB, free: 10.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.2486, allocations: 12.03 kB / 0.5582 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.58e-05/0.2487, allocations: 34.55 kB / 0.5583 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.2488, allocations: 8 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.249, allocations: 171 kB / 0.5584 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2491, allocations: 4 kB / 0.5584 GB, free: 9.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2491, allocations: 0 / 0.5584 GB, free: 9.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.2492, allocations: 37.64 kB / 0.5585 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2492, allocations: 0 / 0.5585 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.2493, allocations: 0 / 0.5585 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.2493, allocations: 0 / 0.5585 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.078e-05/0.2493, allocations: 11.94 kB / 0.5585 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.2498, allocations: 241 kB / 0.5587 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.363e-05/0.2499, allocations: 22.53 kB / 0.5587 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.25, allocations: 0 / 0.5587 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.25, allocations: 30.56 kB / 0.5588 GB, free: 9.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 2.915e-06/0.25, allocations: 3.938 kB / 0.5588 GB, free: 9.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002057/0.2502, allocations: 45.69 kB / 0.5588 GB, free: 9.375 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.2503, allocations: 55.53 kB / 0.5589 GB, free: 9.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2504, allocations: 113.8 kB / 0.559 GB, free: 9.188 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2505, allocations: 25.7 kB / 0.559 GB, free: 9.156 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.2505, allocations: 84.14 kB / 0.5591 GB, free: 9.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.2506, allocations: 3.906 kB / 0.5591 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.2506, allocations: 0 / 0.5591 GB, free: 9.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2507, allocations: 314.8 kB / 0.5594 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.2508, allocations: 7.984 kB / 0.5594 GB, free: 8.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.2508, allocations: 7.938 kB / 0.5594 GB, free: 8.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.722e-05/0.2508, allocations: 0 / 0.5594 GB, free: 8.734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2508, allocations: 0 / 0.5594 GB, free: 8.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.605e-05/0.2509, allocations: 41.59 kB / 0.5594 GB, free: 8.688 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.251, allocations: 10.5 kB / 0.5594 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.251, allocations: 0 / 0.5594 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.251, allocations: 3.984 kB / 0.5594 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.2511, allocations: 3.984 kB / 0.5594 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2511, allocations: 0 / 0.5594 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.2511, allocations: 96 / 0.5594 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2511, allocations: 8 kB / 0.5595 GB, free: 8.664 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.0001091/0.2512, allocations: 109.8 kB / 0.5596 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.2513, allocations: 11.86 kB / 0.5596 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.2514, allocations: 41.16 kB / 0.5596 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2514, allocations: 0 / 0.5596 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.2514, allocations: 0 / 0.5596 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.2515, allocations: 4 kB / 0.5596 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.2517, allocations: 153.7 kB / 0.5598 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2517, allocations: 4.031 kB / 0.5598 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.2517, allocations: 0 / 0.5598 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2517, allocations: 0 / 0.5598 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.2518, allocations: 11.95 kB / 0.5598 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2518, allocations: 0 / 0.5598 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2518, allocations: 0 / 0.5598 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.2519, allocations: 131.5 kB / 0.5599 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.252, allocations: 81.02 kB / 0.56 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.252, allocations: 4.031 kB / 0.56 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.2521, allocations: 3.953 kB / 0.56 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.2521, allocations: 7.922 kB / 0.56 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.2522, allocations: 4 kB / 0.56 GB, free: 8.008 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.338e-05/0.2522, allocations: 91.28 kB / 0.5601 GB, free: 7.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2522, allocations: 0 / 0.5601 GB, free: 7.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003825/0.2526, allocations: 11.88 kB / 0.5601 GB, free: 7.906 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 (1): * Single equations (assignments): 1 * 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.0006695/0.2533, allocations: 0.6785 MB / 0.5608 GB, free: 7.203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.17e-05/0.2534, allocations: 4 kB / 0.5608 GB, free: 7.199 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2534, allocations: 3.938 kB / 0.5608 GB, free: 7.195 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.2535, allocations: 8.094 kB / 0.5608 GB, free: 7.188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.2537, allocations: 9.703 kB / 0.5608 GB, free: 7.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008296/0.2545, allocations: 362.6 kB / 0.5611 GB, free: 6.777 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.255, allocations: 0.681 MB / 0.5618 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.116e-05/0.255, allocations: 11.98 kB / 0.5618 GB, free: 6.059 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.2551, allocations: 7.438 kB / 0.5618 GB, free: 6.051 MB / 430.1 MB Notification: Performance of SimCode: time 3.747e-06/0.2551, allocations: 0 / 0.5618 GB, free: 6.051 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05862/0.3137, allocations: 1.171 MB / 0.563 GB, free: 4.992 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/0.3141, allocations: 176.7 kB / 0.5631 GB, free: 4.746 MB / 430.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_WeeklySchedule.o IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule.c In file included from IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule.c:7: In file included from ./IBPSA_latest_IBPSA_Utilities_IO_Files_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_WeeklySchedule_functions.o IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule_functions.c In file included from IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule_functions.c:2: In file included from ./IBPSA_latest_IBPSA_Utilities_IO_Files_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_WeeklySchedule_functions.c:7: In file included from ./IBPSA_latest_IBPSA_Utilities_IO_Files_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_WeeklySchedule_functions.o] Error 1