Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 289.7 MB / 302.3 MB, free: 2.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001768/0.001768, allocations: 181.7 kB / 371.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 87.23 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.133e-05/5.218e-05, allocations: 8 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3102, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.354, allocations: 142.9 MB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/1.354, allocations: 76.97 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02203/1.376, allocations: 8.472 MB / 1.128 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.472e-06/1.376, allocations: 0 / 1.128 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.959e-05/1.376, allocations: 4 kB / 1.128 GB, free: 37.27 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006942/1.377, allocations: 0.5177 MB / 1.128 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/1.377, allocations: 12.03 kB / 1.128 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/1.377, allocations: 41 kB / 1.128 GB, free: 36.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/1.377, allocations: 26.98 kB / 1.128 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/1.378, allocations: 259.5 kB / 1.129 GB, free: 36.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/1.378, allocations: 4 kB / 1.129 GB, free: 36.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/1.378, allocations: 19.44 kB / 1.129 GB, free: 36.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/1.378, allocations: 96.91 kB / 1.129 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.378, allocations: 0 / 1.129 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/1.378, allocations: 3.5 kB / 1.129 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.378, allocations: 4 kB / 1.129 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/1.378, allocations: 42.53 kB / 1.129 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007624/1.379, allocations: 476.7 kB / 1.129 GB, free: 35.92 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/1.38, allocations: 156.1 kB / 1.129 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/1.38, allocations: 31.17 kB / 1.129 GB, free: 35.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/1.38, allocations: 8 kB / 1.129 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/1.38, allocations: 102.8 kB / 1.129 GB, free: 35.69 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/1.38, allocations: 0 / 1.129 GB, free: 35.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002541/1.38, allocations: 134.9 kB / 1.13 GB, free: 35.58 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/1.38, allocations: 55.41 kB / 1.13 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/1.38, allocations: 177 kB / 1.13 GB, free: 35.37 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/1.38, allocations: 33.27 kB / 1.13 GB, free: 35.33 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/1.38, allocations: 119.3 kB / 1.13 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/1.38, allocations: 41.75 kB / 1.13 GB, free: 35.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-06/1.381, allocations: 3.375 kB / 1.13 GB, free: 35.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.556e-05/1.381, allocations: 331.5 kB / 1.13 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/1.381, allocations: 29.56 kB / 1.13 GB, free: 34.87 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/1.381, allocations: 121.8 kB / 1.13 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.766e-05/1.381, allocations: 38.16 kB / 1.131 GB, free: 34.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.381, allocations: 0 / 1.131 GB, free: 34.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002025/1.381, allocations: 142.8 kB / 1.131 GB, free: 34.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.381, allocations: 11.59 kB / 1.131 GB, free: 34.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/1.381, allocations: 9.078 kB / 1.131 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.381, allocations: 3.938 kB / 1.131 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/1.381, allocations: 15.91 kB / 1.131 GB, free: 34.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.381, allocations: 4 kB / 1.131 GB, free: 34.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/1.381, allocations: 34.16 kB / 1.131 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/1.382, allocations: 4 kB / 1.131 GB, free: 34.55 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 8.508e-05/1.382, allocations: 132.1 kB / 1.131 GB, free: 34.42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/1.382, allocations: 15.81 kB / 1.131 GB, free: 34.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.33e-05/1.382, allocations: 20.39 kB / 1.131 GB, free: 34.4 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/1.382, allocations: 8.703 kB / 1.131 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.382, allocations: 0 / 1.131 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.382, allocations: 0 / 1.131 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/1.382, allocations: 0.4957 MB / 1.131 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.382, allocations: 0 / 1.131 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/1.382, allocations: 9.375 kB / 1.131 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.382, allocations: 0 / 1.131 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/1.382, allocations: 6.906 kB / 1.131 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.382, allocations: 0 / 1.131 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.382, allocations: 8 kB / 1.131 GB, free: 33.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/1.383, allocations: 224.7 kB / 1.132 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/1.383, allocations: 92.88 kB / 1.132 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/1.383, allocations: 6.359 kB / 1.132 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/1.383, allocations: 18.3 kB / 1.132 GB, free: 33.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/1.383, allocations: 21.33 kB / 1.132 GB, free: 33.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/1.383, allocations: 12 kB / 1.132 GB, free: 33.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001112/1.383, allocations: 138.7 kB / 1.132 GB, free: 33.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.383, allocations: 0 / 1.132 GB, free: 33.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003352/1.383, allocations: 51.69 kB / 1.132 GB, free: 33.44 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008768/1.384, allocations: 0.8329 MB / 1.133 GB, free: 32.65 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002992/1.385, allocations: 106.7 kB / 1.133 GB, free: 32.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.385, allocations: 0 / 1.133 GB, free: 32.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/1.385, allocations: 44.5 kB / 1.133 GB, free: 32.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/1.385, allocations: 51.86 kB / 1.133 GB, free: 32.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006947/1.386, allocations: 259.3 kB / 1.133 GB, free: 32.28 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/1.386, allocations: 0.7295 MB / 1.134 GB, free: 31.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.497e-05/1.386, allocations: 22.88 kB / 1.134 GB, free: 31.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/1.387, allocations: 56.16 kB / 1.134 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of SimCode: time 5.82e-07/1.387, allocations: 0 / 1.134 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07582/1.462, allocations: 4.991 MB / 1.139 GB, free: 28.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/1.463, allocations: 233.2 kB / 1.139 GB, free: 28.45 MB / 0.7448 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotFree.c:10:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o] Error 1