Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.292/2.292, allocations: 248.5 MB / 261.1 MB, free: 5.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001514, allocations: 183.4 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.002077/0.002077, allocations: 100.9 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.251e-05, allocations: 0 / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1996, allocations: 106.3 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8646/1.064, allocations: 135.4 MB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004477/1.065, allocations: 78.75 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07855/1.143, allocations: 12.34 MB / 1.035 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.974e-06/1.143, allocations: 0 / 1.035 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.176e-05/1.143, allocations: 4 kB / 1.035 GB, free: 5.418 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001331/1.145, allocations: 0.5265 MB / 1.036 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/1.145, allocations: 12.03 kB / 1.036 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.326e-05/1.145, allocations: 42.48 kB / 1.036 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/1.145, allocations: 23.72 kB / 1.036 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/1.146, allocations: 259.7 kB / 1.036 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/1.146, allocations: 11.98 kB / 1.036 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.401e-05/1.146, allocations: 23.5 kB / 1.036 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/1.147, allocations: 103.6 kB / 1.036 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/1.147, allocations: 0 / 1.036 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/1.147, allocations: 11.3 kB / 1.036 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/1.147, allocations: 4 kB / 1.036 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/1.147, allocations: 53.67 kB / 1.036 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/1.149, allocations: 0.5359 MB / 1.037 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/1.149, allocations: 94.59 kB / 1.037 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/1.15, allocations: 44.45 kB / 1.037 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/1.15, allocations: 4 kB / 1.037 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/1.15, allocations: 115.4 kB / 1.037 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 3.457e-06/1.15, allocations: 0 / 1.037 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005894/1.151, allocations: 130.5 kB / 1.037 GB, free: 3.422 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/1.151, allocations: 88.22 kB / 1.037 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/1.151, allocations: 179.2 kB / 1.037 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/1.151, allocations: 33.08 kB / 1.037 GB, free: 3.125 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/1.152, allocations: 128 kB / 1.037 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/1.152, allocations: 26.64 kB / 1.037 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/1.152, allocations: 7.562 kB / 1.037 GB, free: 2.992 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.152, allocations: 328.8 kB / 1.038 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/1.152, allocations: 35.5 kB / 1.038 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/1.152, allocations: 126.7 kB / 1.038 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/1.153, allocations: 38.92 kB / 1.038 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/1.153, allocations: 4 kB / 1.038 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005939/1.153, allocations: 156.9 kB / 1.038 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/1.153, allocations: 4 kB / 1.038 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.153, allocations: 7.953 kB / 1.038 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/1.153, allocations: 4 kB / 1.038 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/1.154, allocations: 20.09 kB / 1.038 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/1.154, allocations: 7.922 kB / 1.038 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/1.154, allocations: 31.61 kB / 1.038 GB, free: 2.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/1.154, allocations: 7.25 kB / 1.038 GB, free: 2.266 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,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,plotConfiguration.activate_internal) * 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 0.0001856/1.155, allocations: 121.7 kB / 1.038 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/1.155, allocations: 19.72 kB / 1.038 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.92e-05/1.155, allocations: 24.27 kB / 1.038 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.155, allocations: 8.047 kB / 1.038 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.155, allocations: 0 / 1.038 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.155, allocations: 3.984 kB / 1.038 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/1.156, allocations: 467.3 kB / 1.039 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/1.156, allocations: 3.953 kB / 1.039 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/1.156, allocations: 4 kB / 1.039 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.156, allocations: 0 / 1.039 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/1.156, allocations: 11.38 kB / 1.039 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/1.156, allocations: 3.938 kB / 1.039 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.156, allocations: 0 / 1.039 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/1.157, allocations: 246.9 kB / 1.039 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/1.157, allocations: 96.3 kB / 1.039 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/1.157, allocations: 3.984 kB / 1.039 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/1.157, allocations: 19.42 kB / 1.039 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.158, allocations: 15.97 kB / 1.039 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/1.158, allocations: 11.75 kB / 1.039 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002707/1.158, allocations: 144.8 kB / 1.039 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.22e-07/1.158, allocations: 0 / 1.039 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007686/1.159, allocations: 51.19 kB / 1.039 GB, free: 1.051 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001268/1.16, allocations: 0.9082 MB / 1.04 GB, free: 160 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003681/1.16, allocations: 100.5 kB / 1.04 GB, free: 80 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.16, allocations: 4 kB / 1.04 GB, free: 76 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/1.161, allocations: 50.23 kB / 1.04 GB, free: 36 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/1.161, allocations: 37.56 kB / 1.04 GB, free: 8 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/1.162, allocations: 272.5 kB / 1.041 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/1.163, allocations: 0.7328 MB / 1.041 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001299/1.163, allocations: 25.42 kB / 1.041 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/1.163, allocations: 58.53 kB / 1.041 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of SimCode: time 9.72e-07/1.163, allocations: 0 / 1.041 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/1.192, allocations: 4.956 MB / 1.046 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003336/1.192, allocations: 220.4 kB / 1.047 GB, free: 9.895 MB / 0.6667 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.o] Error 1