Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.886/2.886, allocations: 287.3 MB / 302.3 MB, free: 8.406 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.001506/0.001506, allocations: 179.2 kB / 370.8 MB, free: 10.87 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.027/2.027, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001149/0.001148, allocations: 97.41 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004981, allocations: 11.2 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2406, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9961/1.237, allocations: 141.8 MB / 1.117 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/1.237, allocations: 80.34 kB / 1.117 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05116/1.288, allocations: 12.36 MB / 1.129 GB, free: 30.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.916e-06/1.288, allocations: 0 / 1.129 GB, free: 30.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.957e-05/1.288, allocations: 3.781 kB / 1.129 GB, free: 30.36 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001175/1.29, allocations: 0.5561 MB / 1.129 GB, free: 29.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.29, allocations: 15.67 kB / 1.129 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/1.29, allocations: 41.48 kB / 1.129 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/1.29, allocations: 23.28 kB / 1.13 GB, free: 29.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007572/1.291, allocations: 257.7 kB / 1.13 GB, free: 29.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/1.291, allocations: 15.58 kB / 1.13 GB, free: 29.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/1.291, allocations: 14.22 kB / 1.13 GB, free: 29.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/1.291, allocations: 116.1 kB / 1.13 GB, free: 29.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/1.291, allocations: 4 kB / 1.13 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/1.291, allocations: 0 / 1.13 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/1.291, allocations: 3.875 kB / 1.13 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/1.291, allocations: 54.06 kB / 1.13 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/1.293, allocations: 0.5418 MB / 1.13 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/1.293, allocations: 97.39 kB / 1.131 GB, free: 28.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/1.293, allocations: 7.812 kB / 1.131 GB, free: 28.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/1.293, allocations: 122.7 kB / 1.131 GB, free: 28.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 3.517e-06/1.293, allocations: 0 / 1.131 GB, free: 28.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0005908/1.294, allocations: 159.4 kB / 1.131 GB, free: 28.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/1.294, allocations: 95.88 kB / 1.131 GB, free: 28.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/1.294, allocations: 185.1 kB / 1.131 GB, free: 28.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/1.294, allocations: 32.05 kB / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/1.295, allocations: 121 kB / 1.131 GB, free: 28.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/1.295, allocations: 29.33 kB / 1.131 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/1.295, allocations: 11.23 kB / 1.131 GB, free: 28.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.295, allocations: 324.9 kB / 1.132 GB, free: 28.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/1.295, allocations: 29.86 kB / 1.132 GB, free: 28.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/1.295, allocations: 134.1 kB / 1.132 GB, free: 28.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/1.296, allocations: 49.53 kB / 1.132 GB, free: 28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.296, allocations: 0 / 1.132 GB, free: 28 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004287/1.296, allocations: 160.4 kB / 1.132 GB, free: 27.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.296, allocations: 3.75 kB / 1.132 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.296, allocations: 3.875 kB / 1.132 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/1.296, allocations: 0 / 1.132 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/1.296, allocations: 19.58 kB / 1.132 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.296, allocations: 7.766 kB / 1.132 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/1.297, allocations: 26.77 kB / 1.132 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/1.297, allocations: 7.625 kB / 1.132 GB, free: 27.91 MB / 0.698 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 () * 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.0002486/1.297, allocations: 141.3 kB / 1.132 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/1.297, allocations: 23.28 kB / 1.132 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/1.297, allocations: 20.27 kB / 1.132 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.297, allocations: 0 / 1.132 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.297, allocations: 3.953 kB / 1.132 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/1.297, allocations: 7.906 kB / 1.132 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009773/1.298, allocations: 469.7 kB / 1.133 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.298, allocations: 0 / 1.133 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/1.298, allocations: 7.844 kB / 1.133 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/1.298, allocations: 15.83 kB / 1.133 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/1.298, allocations: 7.641 kB / 1.133 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/1.298, allocations: 0 / 1.133 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.298, allocations: 3.938 kB / 1.133 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/1.299, allocations: 235.9 kB / 1.133 GB, free: 27.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/1.299, allocations: 100.6 kB / 1.133 GB, free: 27.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/1.299, allocations: 4 kB / 1.133 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/1.299, allocations: 19.58 kB / 1.133 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.559e-05/1.299, allocations: 15.69 kB / 1.133 GB, free: 27.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/1.299, allocations: 15.14 kB / 1.133 GB, free: 27.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002064/1.3, allocations: 134.3 kB / 1.133 GB, free: 26.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.3, allocations: 3.875 kB / 1.133 GB, free: 26.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005882/1.3, allocations: 48.53 kB / 1.133 GB, free: 26.98 MB / 0.698 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 () * Number of clocked 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.001317/1.301, allocations: 0.9162 MB / 1.134 GB, free: 26.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004698/1.302, allocations: 92.75 kB / 1.134 GB, free: 26.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.302, allocations: 3.875 kB / 1.134 GB, free: 26.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/1.302, allocations: 49.33 kB / 1.134 GB, free: 26.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006438/1.303, allocations: 46.11 kB / 1.134 GB, free: 26.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/1.305, allocations: 1.513 MB / 1.136 GB, free: 24.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/1.305, allocations: 0.7251 MB / 1.137 GB, free: 24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001878/1.305, allocations: 25.05 kB / 1.137 GB, free: 23.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/1.306, allocations: 55.45 kB / 1.137 GB, free: 23.98 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/1.306, allocations: 3.844 kB / 1.137 GB, free: 23.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/1.337, allocations: 4.905 MB / 1.141 GB, free: 21.64 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/1.337, allocations: 237.5 kB / 1.142 GB, free: 21.4 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_PlotterActivationLocalInput.o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c:7: In file included from ./Buildings_8_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: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_PlotterActivationLocalInput_functions.o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.o] Error 1