Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.201/2.201, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001701, allocations: 186.2 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.427/2.427, allocations: 205.4 MB / 0.5764 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001194/0.001193, allocations: 103.8 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004933, allocations: 12.16 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2391, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2351/0.4742, allocations: 135.4 MB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/0.4746, allocations: 83.95 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03486/0.5095, allocations: 7.899 MB / 1.039 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5095, allocations: 4 kB / 1.039 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.5095, allocations: 4 kB / 1.039 GB, free: 1.859 MB / 0.6823 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.001093/0.5106, allocations: 0.5531 MB / 1.039 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5107, allocations: 8.031 kB / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.891e-05/0.5108, allocations: 46.55 kB / 1.039 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.263e-05/0.5109, allocations: 19.81 kB / 1.039 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.5116, allocations: 262.4 kB / 1.04 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.5117, allocations: 8 kB / 1.04 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.5117, allocations: 16 kB / 1.04 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.512, allocations: 89.55 kB / 1.04 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.512, allocations: 3.938 kB / 1.04 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.5121, allocations: 4 kB / 1.04 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5121, allocations: 4 kB / 1.04 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.5123, allocations: 51.97 kB / 1.04 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.5134, allocations: 476.4 kB / 1.04 GB, free: 176 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006949/0.5141, allocations: 158.9 kB / 1.04 GB, free: 8 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.5142, allocations: 0 / 1.04 GB, free: 8 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/0.5145, allocations: 107.5 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 4.238e-06/0.5145, allocations: 0 / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0005031/0.515, allocations: 164 kB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.5151, allocations: 67.39 kB / 1.041 GB, free: 15.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.5154, allocations: 177.4 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.5154, allocations: 37.69 kB / 1.041 GB, free: 15.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.5156, allocations: 120.5 kB / 1.041 GB, free: 15.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.5156, allocations: 31.56 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.5156, allocations: 4 kB / 1.041 GB, free: 15.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.5158, allocations: 330.9 kB / 1.041 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.5159, allocations: 28.36 kB / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.5163, allocations: 138.2 kB / 1.042 GB, free: 14.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.5165, allocations: 37.62 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5165, allocations: 4 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003752/0.5169, allocations: 157.2 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5169, allocations: 5.719 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5169, allocations: 4 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5169, allocations: 0 / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.5171, allocations: 19.92 kB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.5171, allocations: 4 kB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.5175, allocations: 28.11 kB / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.5175, allocations: 4 kB / 1.042 GB, free: 14.48 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.0001828/0.5177, allocations: 144.3 kB / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.5178, allocations: 19.81 kB / 1.042 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.656e-05/0.5178, allocations: 21.86 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.5178, allocations: 4 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5179, allocations: 0 / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.5179, allocations: 3.984 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.5189, allocations: 0.4943 MB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.519, allocations: 0 / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.519, allocations: 8 kB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.519, allocations: 3.938 kB / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.5191, allocations: 7.984 kB / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5191, allocations: 0 / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5191, allocations: 0 / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.5195, allocations: 237.5 kB / 1.043 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.5195, allocations: 96.84 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.5196, allocations: 0 / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.5198, allocations: 23.98 kB / 1.043 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.5199, allocations: 23.95 kB / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.52, allocations: 8 kB / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002007/0.5202, allocations: 135.2 kB / 1.043 GB, free: 13.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.3e-07/0.5202, allocations: 0 / 1.043 GB, free: 13.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004689/0.5207, allocations: 51.94 kB / 1.043 GB, free: 13.12 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.0009842/0.5217, allocations: 0.8396 MB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.522, allocations: 95.84 kB / 1.044 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5221, allocations: 4 kB / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.5223, allocations: 55.91 kB / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.5228, allocations: 45.44 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.5244, allocations: 1.197 MB / 1.045 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.5248, allocations: 0.7322 MB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00014/0.5249, allocations: 21.55 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.5251, allocations: 55.41 kB / 1.046 GB, free: 9.969 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/0.5251, allocations: 0 / 1.046 GB, free: 9.969 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.5598, allocations: 4.953 MB / 1.051 GB, free: 5.215 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003597/0.5602, allocations: 245 kB / 1.051 GB, free: 4.969 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c:7: In file included from ./Buildings_7_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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c:2: In file included from ./Buildings_7_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_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o] Error 1