Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.693/2.693, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001667/0.001667, allocations: 192.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001173, allocations: 96.39 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006392/0.0006395, allocations: 19.44 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2726, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.336, allocations: 141.7 MB / 1.117 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/1.337, allocations: 85.23 kB / 1.117 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03267/1.369, allocations: 7.889 MB / 1.124 GB, free: 30.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.866e-06/1.369, allocations: 0 / 1.124 GB, free: 30.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.667e-05/1.369, allocations: 3.875 kB / 1.124 GB, free: 30.68 MB / 0.698 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.001148/1.37, allocations: 0.5567 MB / 1.125 GB, free: 30.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.371, allocations: 15.55 kB / 1.125 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.532e-05/1.371, allocations: 40.42 kB / 1.125 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/1.371, allocations: 15.56 kB / 1.125 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/1.371, allocations: 263.4 kB / 1.125 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/1.372, allocations: 13.7 kB / 1.125 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/1.372, allocations: 14.53 kB / 1.125 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/1.372, allocations: 91.3 kB / 1.125 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.372, allocations: 0 / 1.125 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/1.372, allocations: 6.047 kB / 1.125 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.372, allocations: 3.844 kB / 1.125 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/1.372, allocations: 48.62 kB / 1.126 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/1.373, allocations: 469.2 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/1.374, allocations: 152.3 kB / 1.126 GB, free: 29.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/1.374, allocations: 8.203 kB / 1.126 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/1.374, allocations: 118.6 kB / 1.126 GB, free: 29.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.826e-06/1.374, allocations: 0 / 1.126 GB, free: 29.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0005898/1.375, allocations: 167.3 kB / 1.126 GB, free: 29.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/1.375, allocations: 59.03 kB / 1.126 GB, free: 29.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/1.375, allocations: 179 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.748e-05/1.375, allocations: 33.42 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/1.375, allocations: 124.3 kB / 1.127 GB, free: 29.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/1.376, allocations: 34.72 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/1.376, allocations: 6.516 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.376, allocations: 327.9 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/1.376, allocations: 33.77 kB / 1.127 GB, free: 28.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/1.376, allocations: 125.2 kB / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/1.376, allocations: 38.62 kB / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.376, allocations: 0 / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003774/1.377, allocations: 150.9 kB / 1.127 GB, free: 28.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.377, allocations: 11.95 kB / 1.127 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.377, allocations: 3.844 kB / 1.127 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.377, allocations: 0 / 1.127 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/1.377, allocations: 21.58 kB / 1.127 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.377, allocations: 3.844 kB / 1.127 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/1.377, allocations: 23.92 kB / 1.128 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/1.377, allocations: 15.7 kB / 1.128 GB, free: 28.7 MB / 0.698 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 () * Number of clocked 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 0.0002126/1.378, allocations: 145.3 kB / 1.128 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/1.378, allocations: 19.09 kB / 1.128 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/1.378, allocations: 24.3 kB / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.378, allocations: 0 / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.378, allocations: 3.844 kB / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.378, allocations: 0 / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/1.379, allocations: 0.4904 MB / 1.128 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.379, allocations: 0 / 1.128 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/1.379, allocations: 3.938 kB / 1.128 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1.379, allocations: 0 / 1.128 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/1.379, allocations: 6.453 kB / 1.128 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/1.379, allocations: 4 kB / 1.128 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.379, allocations: 7.938 kB / 1.128 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/1.379, allocations: 231.9 kB / 1.128 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/1.379, allocations: 95.12 kB / 1.129 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/1.379, allocations: 7.75 kB / 1.129 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/1.38, allocations: 17.36 kB / 1.129 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/1.38, allocations: 23.09 kB / 1.129 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/1.38, allocations: 13.86 kB / 1.129 GB, free: 27.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001648/1.38, allocations: 135 kB / 1.129 GB, free: 27.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.38, allocations: 0 / 1.129 GB, free: 27.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004906/1.38, allocations: 54.44 kB / 1.129 GB, free: 27.89 MB / 0.698 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 () * Number of clocked 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.001042/1.382, allocations: 0.84 MB / 1.13 GB, free: 27.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003671/1.382, allocations: 105.2 kB / 1.13 GB, free: 27.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.382, allocations: 0 / 1.13 GB, free: 27.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/1.382, allocations: 52.78 kB / 1.13 GB, free: 27.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/1.383, allocations: 50.81 kB / 1.13 GB, free: 27.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/1.384, allocations: 1.195 MB / 1.131 GB, free: 26.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/1.385, allocations: 0.7291 MB / 1.132 GB, free: 25.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001514/1.385, allocations: 20.59 kB / 1.132 GB, free: 25.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/1.385, allocations: 50.56 kB / 1.132 GB, free: 25.41 MB / 0.698 GB Notification: Performance of SimCode: time 1.733e-06/1.385, allocations: 0 / 1.132 GB, free: 25.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/1.411, allocations: 4.952 MB / 1.137 GB, free: 23.57 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/1.412, allocations: 242.4 kB / 1.137 GB, free: 23.34 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -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/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/plotFree.c:8:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o] Error 1