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.0007603/0.0007602, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007632/0.0007632, allocations: 175.7 kB / 16.58 MB, free: 6.844 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.179/1.179, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5985/0.5985, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002501, allocations: 8 kB / 493.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 77.11 MB / 0.5569 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.00122/0.1162, allocations: 1.06 MB / 0.5579 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000107/0.1163, allocations: 31.86 kB / 0.558 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.1163, allocations: 0 / 0.558 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.1164, allocations: 15.97 kB / 0.558 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.678e-05/0.1165, allocations: 11.94 kB / 0.558 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.315e-06/0.1165, allocations: 0 / 0.558 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.008e-05/0.1166, allocations: 11.92 kB / 0.558 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.1166, allocations: 0 / 0.558 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.221e-05/0.1166, allocations: 11.88 kB / 0.558 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.758e-05/0.1167, allocations: 8 kB / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.1167, allocations: 3.938 kB / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.541e-05/0.1167, allocations: 15.98 kB / 0.558 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.1168, allocations: 3.984 kB / 0.558 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.1168, allocations: 25.7 kB / 0.5581 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.761e-05/0.1169, allocations: 19.98 kB / 0.5581 GB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1169, allocations: 0 / 0.5581 GB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1169, allocations: 0 / 0.5581 GB, free: 10.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.1169, allocations: 0 / 0.5581 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.0002696/0.1172, allocations: 331.5 kB / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1172, allocations: 8.031 kB / 0.5584 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.1172, allocations: 34.56 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.937e-05/0.1173, allocations: 4 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.1174, allocations: 171 kB / 0.5586 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-06/0.1174, allocations: 11.92 kB / 0.5586 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.1175, allocations: 0 / 0.5586 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.265e-05/0.1175, allocations: 41.62 kB / 0.5586 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1175, allocations: 0 / 0.5586 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1176, allocations: 0 / 0.5586 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.1176, allocations: 7.938 kB / 0.5587 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.1176, allocations: 8 kB / 0.5587 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.1178, allocations: 232.9 kB / 0.5589 GB, free: 9.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.325e-05/0.1179, allocations: 30.5 kB / 0.5589 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.317e-05/0.1179, allocations: 8.859 kB / 0.5589 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1179, allocations: 4.062 kB / 0.5589 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.1179, allocations: 30.56 kB / 0.559 GB, free: 9.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1179, allocations: 0 / 0.559 GB, free: 9.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.1181, allocations: 37.69 kB / 0.559 GB, free: 9.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.1181, allocations: 59.47 kB / 0.559 GB, free: 9.285 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.1182, allocations: 113.8 kB / 0.5592 GB, free: 9.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.1182, allocations: 25.7 kB / 0.5592 GB, free: 9.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.1182, allocations: 84.08 kB / 0.5593 GB, free: 9.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.1183, allocations: 7.906 kB / 0.5593 GB, free: 9.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-06/0.1183, allocations: 4 kB / 0.5593 GB, free: 9.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.1184, allocations: 310.8 kB / 0.5596 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-06/0.1184, allocations: 0 / 0.5596 GB, free: 8.723 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-06/0.1184, allocations: 7.984 kB / 0.5596 GB, free: 8.715 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.038e-05/0.1184, allocations: 4.062 kB / 0.5596 GB, free: 8.711 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1184, allocations: 0 / 0.5596 GB, free: 8.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.879e-05/0.1185, allocations: 41.66 kB / 0.5596 GB, free: 8.664 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.1185, allocations: 4 kB / 0.5596 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.1185, allocations: 0 / 0.5596 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.1185, allocations: 0 / 0.5596 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.681e-05/0.1185, allocations: 7.938 kB / 0.5596 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1185, allocations: 3.984 kB / 0.5596 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.062e-05/0.1186, allocations: 0 / 0.5596 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.1186, allocations: 4.031 kB / 0.5596 GB, free: 8.645 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 5.99e-05/0.1186, allocations: 109.8 kB / 0.5597 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1187, allocations: 7.859 kB / 0.5598 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.69e-05/0.1187, allocations: 45.22 kB / 0.5598 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.1187, allocations: 0 / 0.5598 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.1188, allocations: 0 / 0.5598 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.1188, allocations: 0 / 0.5598 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.1189, allocations: 157.7 kB / 0.5599 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1189, allocations: 0 / 0.5599 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.1189, allocations: 11.97 kB / 0.56 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1189, allocations: 0 / 0.56 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1189, allocations: 3.953 kB / 0.56 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1189, allocations: 0 / 0.56 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1189, allocations: 3.938 kB / 0.56 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.063e-05/0.119, allocations: 127.5 kB / 0.5601 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.1191, allocations: 89.02 kB / 0.5602 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.1191, allocations: 4.031 kB / 0.5602 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.1191, allocations: 3.953 kB / 0.5602 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.1191, allocations: 3.984 kB / 0.5602 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.1191, allocations: 0 / 0.5602 GB, free: 7.988 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.368e-05/0.1192, allocations: 91.58 kB / 0.5603 GB, free: 7.898 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1192, allocations: 0 / 0.5603 GB, free: 7.898 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001983/0.1194, allocations: 7.938 kB / 0.5603 GB, free: 7.891 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.0003738/0.1198, allocations: 0.6952 MB / 0.561 GB, free: 7.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.545e-05/0.1198, allocations: 8 kB / 0.561 GB, free: 7.168 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1198, allocations: 0 / 0.561 GB, free: 7.168 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.875e-06/0.1199, allocations: 4.094 kB / 0.561 GB, free: 7.164 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.1201, allocations: 12.02 kB / 0.561 GB, free: 7.152 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.1205, allocations: 366.4 kB / 0.5613 GB, free: 6.746 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.1207, allocations: 0.677 MB / 0.562 GB, free: 6.043 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.493e-05/0.1208, allocations: 11.98 kB / 0.562 GB, free: 6.031 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.1208, allocations: 15.44 kB / 0.562 GB, free: 6.016 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1208, allocations: 0 / 0.562 GB, free: 6.016 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009089/0.1299, allocations: 1.184 MB / 0.5632 GB, free: 4.949 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.1301, allocations: 187.2 kB / 0.5634 GB, free: 4.707 MB / 430.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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